#5FA2FE

Closest named color: Cornflower Blue (#6495ED). oklch(70.9% 0.152 256.7), rgb(95, 162, 254).

Aa

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

About this color

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

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

Values

HEX#5FA2FE
RGBrgb(95, 162, 254)
HSLhsl(215, 99%, 68%)
OKLCHoklch(70.9% 0.152 256.7)

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 #5FA2FE 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #5FA2FE 8.08:1 AAA Lc 53.5 Large or bold text, headings
#5FA2FE text on white 2.59:1 Fails Lc 50.5 Large or bold text, headings
#5FA2FE text on black 8.08:1 AAA Lc -51.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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFC

    oklch(88.4% 0.052 256.4)

  4. Step 300

    300

    #99C3FE

    oklch(80.9% 0.095 256.9)

  5. Step 400

    400 (this color)

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  6. Step 500

    500

    #2A86FB

    oklch(63% 0.194 256.8)

  7. Step 600

    600

    #006EE2

    oklch(55.6% 0.196 256.8)

  8. Step 700

    700

    #005CBF

    oklch(49% 0.172 256.8)

  9. Step 800

    800

    #004B9E

    oklch(42.6% 0.15 256.7)

  10. Step 900

    900

    #063F83

    oklch(37.7% 0.127 256.9)

  11. Step 950

    950

    #08264C

    oklch(27.1% 0.079 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5FA2FE 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)#7AA9FF0.035
Deuteranopia (no green cones)#649AFC0.020
Tritanopia (no blue cones)#00B7C40.125
Achromatopsia (no color)#A1A1A10.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA2FE

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  • #D49300

    #D49300

    oklch(70.9% 0.148 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA2FE

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  • #00B1E2

    #00B1E2

    oklch(70.9% 0.136 226.5)

  • #9C90FA

    #9C90FA

    oklch(70.9% 0.152 287)

Open the analogous palette in the generator

Split complementary

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

  • #5FA2FE

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  • #EC7F46

    #EC7F46

    oklch(70.8% 0.152 46.5)

  • #ADA600

    #ADA600

    oklch(70.8% 0.152 106.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA2FE

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  • #F0757F

    #F0757F

    oklch(70.8% 0.151 16.7)

  • #72B652

    #72B652

    oklch(70.8% 0.151 136.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA2FE

    #5FA2FE

    oklch(70.9% 0.152 256.7)

  • #E377B4

    #E377B4

    oklch(70.9% 0.151 346.6)

  • #D49300

    #D49300

    oklch(70.9% 0.148 77.2)

  • #00BD8D

    #00BD8D

    oklch(70.8% 0.146 166.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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