#5FA7EF

Closest named color: Cornflower Blue (#6495ED). oklch(71.2% 0.128 250.1), rgb(95, 167, 239).

Aa

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

About this color

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

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

Values

HEX#5FA7EF
RGBrgb(95, 167, 239)
HSLhsl(210, 82%, 65%)
OKLCHoklch(71.2% 0.128 250.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 #5FA7EF 2.54:1 Fails Lc -54.7 Large or bold text, headings
Black text on #5FA7EF 8.26:1 AAA Lc 54.4 Large or bold text, headings
#5FA7EF text on white 2.54:1 Fails Lc 49.6 Large or bold text, headings
#5FA7EF text on black 8.26:1 AAA Lc -52.4 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C4DCF6

    oklch(88.5% 0.044 250.4)

  4. Step 300

    300

    #99C5F3

    oklch(80.9% 0.08 250)

  5. Step 400

    400 (this color)

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  6. Step 500

    500

    #238DE8

    oklch(63.2% 0.164 250)

  7. Step 600

    600

    #0076CB

    oklch(55.7% 0.158 250)

  8. Step 700

    700

    #0063AC

    oklch(49.2% 0.139 250)

  9. Step 800

    800

    #00518E

    oklch(42.8% 0.121 249.9)

  10. Step 900

    900

    #004377

    oklch(37.7% 0.106 249.9)

  11. Step 950

    950

    #062846

    oklch(27.1% 0.068 249.6)

Export this scale for Tailwind in the Tailwind colors tool

#5FA7EF 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)#88AAF20.045
Deuteranopia (no green cones)#759CEE0.034
Tritanopia (no blue cones)#00B8C00.105
Achromatopsia (no color)#A2A2A20.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA7EF

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  • #D5933C

    #D5933C

    oklch(71.3% 0.128 70.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA7EF

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  • #0AB4D9

    #0AB4D9

    oklch(71.2% 0.128 219.8)

  • #9398F1

    #9398F1

    oklch(71.2% 0.129 280.1)

Open the analogous palette in the generator

Split complementary

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

  • #5FA7EF

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  • #E58462

    #E58462

    oklch(71.1% 0.129 39.9)

  • #B5A335

    #B5A335

    oklch(71.1% 0.128 99.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA7EF

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  • #E67E90

    #E67E90

    oklch(71.3% 0.129 9.9)

  • #87B258

    #87B258

    oklch(71.2% 0.128 130.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA7EF

    #5FA7EF

    oklch(71.2% 0.128 250.1)

  • #D781BB

    #D781BB

    oklch(71.3% 0.128 340.2)

  • #D5933C

    #D5933C

    oklch(71.3% 0.128 70.2)

  • #4BBA86

    #4BBA86

    oklch(71.1% 0.128 160.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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