#5FA1FE

Closest named color: Cornflower Blue (#6495ED). oklch(70.7% 0.153 257.2), rgb(95, 161, 254).

Aa

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

About this color

#5FA1FE is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.153 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.036 away. Black text reads best on it, at 8.01:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.153)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text8.01:1
White text2.61:1

Values

HEX#5FA1FE
RGBrgb(95, 161, 254)
HSLhsl(215, 99%, 68%)
OKLCHoklch(70.7% 0.153 257.2)

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 #5FA1FE 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #5FA1FE 8.01:1 AAA Lc 53.2 Large or bold text, headings
#5FA1FE text on white 2.61:1 Fails Lc 50.9 Large or bold text, headings
#5FA1FE text on black 8.01:1 AAA Lc -51.1 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C3DBFD

    oklch(88.5% 0.054 257.1)

  4. Step 300

    300

    #99C3FE

    oklch(80.9% 0.095 256.9)

  5. Step 400

    400 (this color)

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  6. Step 500

    500

    #2C86FC

    oklch(63.1% 0.195 257.1)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #073F83

    oklch(37.8% 0.127 257)

  11. Step 950

    950

    #08254D

    oklch(26.9% 0.082 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#5FA1FE 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)#79A8FF0.034
Deuteranopia (no green cones)#6299FC0.020
Tritanopia (no blue cones)#00B6C30.126
Achromatopsia (no color)#A0A0A00.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA1FE

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  • #D39200

    #D39200

    oklch(70.6% 0.148 77.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA1FE

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  • #00B0E2

    #00B0E2

    oklch(70.6% 0.137 227.2)

  • #9C8FFA

    #9C8FFA

    oklch(70.7% 0.153 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #5FA1FE

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  • #EC7F43

    #EC7F43

    oklch(70.8% 0.153 47.4)

  • #ACA600

    #ACA600

    oklch(70.7% 0.152 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA1FE

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  • #F0747D

    #F0747D

    oklch(70.6% 0.153 17.3)

  • #70B651

    #70B651

    oklch(70.7% 0.153 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA1FE

    #5FA1FE

    oklch(70.7% 0.153 257.2)

  • #E375B3

    #E375B3

    oklch(70.6% 0.153 346.8)

  • #D39200

    #D39200

    oklch(70.6% 0.148 77.1)

  • #00BC8E

    #00BC8E

    oklch(70.6% 0.144 167.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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