#5FA1FB

Closest named color: Cornflower Blue (#6495ED). oklch(70.5% 0.149 256.6), rgb(95, 161, 251).

Aa

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

About this color

#5FA1FB is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.149 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.97:1.

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

Values

HEX#5FA1FB
RGBrgb(95, 161, 251)
HSLhsl(215, 95%, 68%)
OKLCHoklch(70.5% 0.149 256.6)

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 #5FA1FB 2.63:1 Fails Lc -56.2 Large or bold text, headings
Black text on #5FA1FB 7.97:1 AAA Lc 53.0 Large or bold text, headings
#5FA1FB text on white 2.63:1 Fails Lc 51.1 Large or bold text, headings
#5FA1FB text on black 7.97:1 AAA Lc -50.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

    #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)

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  6. Step 500

    500

    #2C87F9

    oklch(63.1% 0.19 256.4)

  7. Step 600

    600

    #006EE1

    oklch(55.5% 0.194 256.7)

  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

    #073F81

    oklch(37.6% 0.124 256.6)

  11. Step 950

    950

    #08264C

    oklch(27.1% 0.079 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5FA1FB 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)#6599F90.021
Tritanopia (no blue cones)#00B6C20.124
Achromatopsia (no color)#9F9F9F0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA1FB

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  • #D39100

    #D39100

    oklch(70.4% 0.148 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA1FB

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  • #00B0E1

    #00B0E1

    oklch(70.6% 0.136 226.7)

  • #9A90F7

    #9A90F7

    oklch(70.6% 0.148 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #5FA1FB

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  • #EA7F47

    #EA7F47

    oklch(70.6% 0.149 46.6)

  • #ACA50B

    #ACA50B

    oklch(70.5% 0.149 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA1FB

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  • #EE757F

    #EE757F

    oklch(70.5% 0.149 16.6)

  • #72B552

    #72B552

    oklch(70.6% 0.15 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA1FB

    #5FA1FB

    oklch(70.5% 0.149 256.6)

  • #E176B3

    #E176B3

    oklch(70.5% 0.15 346.4)

  • #D39100

    #D39100

    oklch(70.4% 0.148 76.4)

  • #00BC8C

    #00BC8C

    oklch(70.5% 0.145 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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