#5FA8FB

Closest named color: Cornflower Blue (#6495ED). oklch(72% 0.142 253), rgb(95, 168, 251).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (72%)
Chromavivid (0.142)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text8.48:1
White text2.47:1

Values

HEX#5FA8FB
RGBrgb(95, 168, 251)
HSLhsl(212, 95%, 68%)
OKLCHoklch(72% 0.142 253)

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 #5FA8FB 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #5FA8FB 8.48:1 AAA Lc 55.6 Large or bold text, headings
#5FA8FB text on white 2.47:1 Fails Lc 48.4 Large or bold text, headings
#5FA8FB text on black 8.48:1 AAA Lc -53.6 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

    #DEEBFB

    oklch(93.5% 0.026 253.6)

  3. Step 200

    200

    #C3DCFA

    oklch(88.6% 0.049 253.1)

  4. Step 300

    300

    #98C4F9

    oklch(80.8% 0.089 253.5)

  5. Step 400

    400 (this color)

    #5FA8FB

    oklch(72% 0.142 253)

  6. Step 500

    500

    #1E8AF3

    oklch(63.1% 0.182 253)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0060B3

    oklch(49% 0.152 253.2)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900

    #00417D

    oklch(37.6% 0.117 253.3)

  11. Step 950

    950

    #05274A

    oklch(27.1% 0.075 252.9)

Export this scale for Tailwind in the Tailwind colors tool

#5FA8FB 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)#84ADFF0.042
Deuteranopia (no green cones)#6F9EF90.028
Tritanopia (no blue cones)#00BBC60.115
Achromatopsia (no color)#A5A5A50.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FA8FB

    #5FA8FB

    oklch(72% 0.142 253)

  • #DA9526

    #DA9526

    oklch(72.1% 0.142 73.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FA8FB

    #5FA8FB

    oklch(72% 0.142 253)

  • #00B6E1

    #00B6E1

    oklch(72% 0.134 222.7)

  • #9997FA

    #9997FA

    oklch(71.9% 0.142 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #5FA8FB

    #5FA8FB

    oklch(72% 0.142 253)

  • #ED8458

    #ED8458

    oklch(72% 0.142 42.9)

  • #B5A823

    #B5A823

    oklch(72.1% 0.142 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FA8FB

    #5FA8FB

    oklch(72% 0.142 253)

  • #EF7C8B

    #EF7C8B

    oklch(72% 0.142 13.1)

  • #81B755

    #81B755

    oklch(72% 0.142 132.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FA8FB

    #5FA8FB

    oklch(72% 0.142 253)

  • #E17EBC

    #E17EBC

    oklch(72% 0.143 343)

  • #DA9526

    #DA9526

    oklch(72.1% 0.142 73.2)

  • #31C08B

    #31C08B

    oklch(72.1% 0.142 163.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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