#5FA1FC

Closest named color: Cornflower Blue (#6495ED). oklch(70.6% 0.15 256.8), rgb(95, 161, 252).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.150)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.99:1
White text2.62:1

Values

HEX#5FA1FC
RGBrgb(95, 161, 252)
HSLhsl(215, 96%, 68%)
OKLCHoklch(70.6% 0.15 256.8)

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 #5FA1FC 2.62:1 Fails Lc -56.1 Large or bold text, headings
Black text on #5FA1FC 7.99:1 AAA Lc 53.0 Large or bold text, headings
#5FA1FC text on white 2.62:1 Fails Lc 51.0 Large or bold text, headings
#5FA1FC text on black 7.99:1 AAA Lc -50.9 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

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9AC3FD

    oklch(80.9% 0.094 257.1)

  5. Step 400

    400 (this color)

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  6. Step 500

    500

    #2C86FA

    oklch(63% 0.192 256.9)

  7. Step 600

    600

    #006EE2

    oklch(55.6% 0.196 256.8)

  8. Step 700

    700

    #005CC0

    oklch(49.1% 0.174 256.9)

  9. Step 800

    800

    #004B9F

    oklch(42.7% 0.151 256.9)

  10. Step 900

    900

    #073F82

    oklch(37.7% 0.125 256.8)

  11. Step 950

    950

    #08264C

    oklch(27.1% 0.079 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5FA1FC 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)#7AA8FF0.036
Deuteranopia (no green cones)#6499FA0.020
Tritanopia (no blue cones)#00B6C30.124
Achromatopsia (no color)#A0A0A00.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA1FC

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  • #D39200

    #D39200

    oklch(70.6% 0.148 77.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA1FC

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  • #00B0E1

    #00B0E1

    oklch(70.6% 0.136 226.7)

  • #9B8FF8

    #9B8FF8

    oklch(70.5% 0.151 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #5FA1FC

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  • #EA7F46

    #EA7F46

    oklch(70.6% 0.15 46.9)

  • #ACA505

    #ACA505

    oklch(70.5% 0.15 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA1FC

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  • #EF757E

    #EF757E

    oklch(70.7% 0.15 17.1)

  • #71B552

    #71B552

    oklch(70.5% 0.15 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA1FC

    #5FA1FC

    oklch(70.6% 0.15 256.8)

  • #E276B3

    #E276B3

    oklch(70.6% 0.151 346.7)

  • #D39200

    #D39200

    oklch(70.6% 0.148 77.1)

  • #00BC8D

    #00BC8D

    oklch(70.6% 0.145 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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