#5279E5

Closest named color: Cornflower (#6A79F7). oklch(60.3% 0.169 266.5), rgb(82, 121, 229).

Aa

Black text reads best on this color (5.22:1).

About this color

#5279E5 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.169 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.040 away. Black text reads best on it, at 5.22:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.169)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.22:1
White text4.01:1

Values

HEX#5279E5
RGBrgb(82, 121, 229)
HSLhsl(224, 74%, 61%)
OKLCHoklch(60.3% 0.169 266.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #5279E5 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #5279E5 5.22:1 AA Lc 36.9 Non-text elements, placeholder text
#5279E5 text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#5279E5 text on black 5.22:1 AA Lc -34.5 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9F9

    oklch(88.5% 0.047 266.7)

  4. Step 300

    300

    #A8C0F7

    oklch(80.9% 0.083 266.3)

  5. Step 400

    400

    #7A9DF3

    oklch(70.7% 0.132 266.3)

  6. Step 500

    500 (this color)

    #5279E5

    oklch(60.3% 0.169 266.5)

  7. Step 600

    600

    #4168DD

    oklch(55.5% 0.184 266.5)

  8. Step 700

    700

    #3456C0

    oklch(49.1% 0.171 266.6)

  9. Step 800

    800

    #2B479B

    oklch(42.7% 0.141 266.5)

  10. Step 900

    900

    #263D7B

    oklch(37.7% 0.109 266)

  11. Step 950

    950

    #172448

    oklch(27% 0.069 266.8)

Export this scale for Tailwind in the Tailwind colors tool

#5279E5 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4186E90.034
Deuteranopia (no green cones)#2378E30.038
Tritanopia (no blue cones)#0092A40.141
Achromatopsia (no color)#7F7F7F0.169

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #5279E5

    #5279E5

    oklch(60.3% 0.169 266.5)

  • #A17B00

    #A17B00

    oklch(60.3% 0.123 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5279E5

    #5279E5

    oklch(60.3% 0.169 266.5)

  • #008BC4

    #008BC4

    oklch(60.3% 0.13 236.4)

  • #8D66D9

    #8D66D9

    oklch(60.3% 0.17 296.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #5279E5

    #5279E5

    oklch(60.3% 0.169 266.5)

  • #C16500

    #C16500

    oklch(60.3% 0.147 56.2)

  • #7D8A00

    #7D8A00

    oklch(60.2% 0.138 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5279E5

    #5279E5

    oklch(60.3% 0.169 266.5)

  • #D34E47

    #D34E47

    oklch(60.2% 0.169 26.4)

  • #209A3C

    #209A3C

    oklch(60.2% 0.169 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5279E5

    #5279E5

    oklch(60.3% 0.169 266.5)

  • #CB4C83

    #CB4C83

    oklch(60.2% 0.169 356.6)

  • #A17B00

    #A17B00

    oklch(60.3% 0.123 86.8)

  • #00967F

    #00967F

    oklch(60.2% 0.112 176.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5279E5, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #5279E5 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.