#5FA7EC

Closest named color: Cornflower Blue (#6495ED). oklch(71% 0.125 249.1), rgb(95, 167, 236).

Aa

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

About this color

#5FA7EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 71%, its chroma 0.125 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.049 away. Black text reads best on it, at 8.22:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text8.22:1
White text2.55:1

Values

HEX#5FA7EC
RGBrgb(95, 167, 236)
HSLhsl(209, 79%, 65%)
OKLCHoklch(71% 0.125 249.1)

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 #5FA7EC 2.55:1 Fails Lc -54.9 Large or bold text, headings
Black text on #5FA7EC 8.22:1 AAA Lc 54.2 Large or bold text, headings
#5FA7EC text on white 2.55:1 Fails Lc 49.8 Large or bold text, headings
#5FA7EC text on black 8.22:1 AAA Lc -52.2 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF9

    oklch(93.7% 0.022 248.1)

  3. Step 200

    200

    #C4DCF5

    oklch(88.5% 0.043 249.4)

  4. Step 300

    300

    #9AC5F1

    oklch(80.8% 0.078 249.4)

  5. Step 400

    400 (this color)

    #5FA7EC

    oklch(71% 0.125 249.1)

  6. Step 500

    500

    #248EE5

    oklch(63.2% 0.16 249)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900

    #004376

    oklch(37.6% 0.105 249.5)

  11. Step 950

    950

    #062845

    oklch(27% 0.066 248.8)

Export this scale for Tailwind in the Tailwind colors tool

#5FA7EC 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)#8AAAEF0.048
Deuteranopia (no green cones)#779CEB0.035
Tritanopia (no blue cones)#00B7BF0.101
Achromatopsia (no color)#A2A2A20.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA7EC

    #5FA7EC

    oklch(71% 0.125 249.1)

  • #D49240

    #D49240

    oklch(71.1% 0.125 69)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA7EC

    #5FA7EC

    oklch(71% 0.125 249.1)

  • #18B3D6

    #18B3D6

    oklch(71% 0.125 219.1)

  • #9198EE

    #9198EE

    oklch(70.9% 0.125 279.1)

Open the analogous palette in the generator

Split complementary

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

  • #5FA7EC

    #5FA7EC

    oklch(71% 0.125 249.1)

  • #E38565

    #E38565

    oklch(71.1% 0.124 39.5)

  • #B5A239

    #B5A239

    oklch(70.9% 0.125 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA7EC

    #5FA7EC

    oklch(71% 0.125 249.1)

  • #E37F91

    #E37F91

    oklch(71.1% 0.124 9.2)

  • #89B159

    #89B159

    oklch(71.1% 0.125 129.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA7EC

    #5FA7EC

    oklch(71% 0.125 249.1)

  • #D482BB

    #D482BB

    oklch(71.1% 0.124 339.1)

  • #D49240

    #D49240

    oklch(71.1% 0.125 69)

  • #50B985

    #50B985

    oklch(71% 0.125 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5FA7EC 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.