#5FA1EC

Closest named color: Cornflower Blue (#6495ED). oklch(69.7% 0.13 252.9), rgb(95, 161, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.79:1
White text2.69:1

Values

HEX#5FA1EC
RGBrgb(95, 161, 236)
HSLhsl(212, 79%, 65%)
OKLCHoklch(69.7% 0.13 252.9)

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 #5FA1EC 2.69:1 Fails Lc -57.3 Large or bold text, headings
Black text on #5FA1EC 7.79:1 AAA Lc 52.0 Large or bold text, headings
#5FA1EC text on white 2.69:1 Fails Lc 52.1 Large or bold text, headings
#5FA1EC text on black 7.79:1 AAA Lc -49.8 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

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DCF7

    oklch(88.6% 0.045 252.5)

  4. Step 300

    300

    #9BC4F4

    oklch(80.8% 0.081 252.7)

  5. Step 400

    400 (this color)

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  6. Step 500

    500

    #2F8BEA

    oklch(63.1% 0.166 252.8)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0061B3

    oklch(49.2% 0.151 252.8)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900

    #094279

    oklch(37.8% 0.108 252.9)

  11. Step 950

    950

    #092747

    oklch(27% 0.069 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#5FA1EC 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)#81A5EF0.039
Deuteranopia (no green cones)#6F97EA0.029
Tritanopia (no blue cones)#00B2BC0.107
Achromatopsia (no color)#9E9E9E0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA1EC

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  • #CE8F31

    #CE8F31

    oklch(69.7% 0.13 72.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA1EC

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  • #00AED8

    #00AED8

    oklch(69.7% 0.13 223.2)

  • #9392EC

    #9392EC

    oklch(69.8% 0.13 283)

Open the analogous palette in the generator

Split complementary

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

  • #5FA1EC

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  • #E08059

    #E08059

    oklch(69.7% 0.13 42.4)

  • #ADA02F

    #ADA02F

    oklch(69.7% 0.13 102.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA1EC

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  • #E27987

    #E27987

    oklch(69.7% 0.13 12.6)

  • #7DAF56

    #7DAF56

    oklch(69.8% 0.131 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA1EC

    #5FA1EC

    oklch(69.7% 0.13 252.9)

  • #D47BB3

    #D47BB3

    oklch(69.7% 0.13 342.6)

  • #CE8F31

    #CE8F31

    oklch(69.7% 0.13 72.8)

  • #3CB686

    #3CB686

    oklch(69.6% 0.129 163)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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