#5F97DB

Closest named color: Cornflower Blue (#6495ED). oklch(66.7% 0.118 254.1), rgb(95, 151, 219).

Aa

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

About this color

#5F97DB is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.118 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.030 away. Black text reads best on it, at 6.93:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.93:1
White text3.02:1

Values

HEX#5F97DB
RGBrgb(95, 151, 219)
HSLhsl(213, 63%, 62%)
OKLCHoklch(66.7% 0.118 254.1)

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 #5F97DB 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #5F97DB 6.93:1 AA Lc 47.2 Large or bold text, headings
#5F97DB text on white 3.02:1 AA large text Lc 56.9 Large or bold text, headings
#5F97DB text on black 6.93:1 AA Lc -44.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A8C3E6

    oklch(80.9% 0.058 255)

  5. Step 400

    400

    #78A4D9

    oklch(70.8% 0.092 253.6)

  6. Step 500

    500 (this color)

    #5F97DB

    oklch(66.7% 0.118 254.1)

  7. Step 600

    600

    #3875BC

    oklch(55.7% 0.128 253.9)

  8. Step 700

    700

    #2A62A2

    oklch(49.2% 0.118 253.8)

  9. Step 800

    800

    #245083

    oklch(42.7% 0.098 253.9)

  10. Step 900

    900

    #224369

    oklch(37.7% 0.076 253.3)

  11. Step 950

    950

    #15273E

    oklch(27% 0.049 255.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F97DB 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)#7B9BDE0.035
Deuteranopia (no green cones)#6B8FDA0.023
Tritanopia (no blue cones)#00A6AF0.102
Achromatopsia (no color)#9494940.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F97DB

    #5F97DB

    oklch(66.7% 0.118 254.1)

  • #BF8836

    #BF8836

    oklch(66.6% 0.118 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F97DB

    #5F97DB

    oklch(66.7% 0.118 254.1)

  • #22A3CA

    #22A3CA

    oklch(66.7% 0.118 224.3)

  • #8C89DA

    #8C89DA

    oklch(66.6% 0.119 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F97DB

    #5F97DB

    oklch(66.7% 0.118 254.1)

  • #D07B56

    #D07B56

    oklch(66.7% 0.118 43.8)

  • #A09736

    #A09736

    oklch(66.6% 0.117 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F97DB

    #5F97DB

    oklch(66.7% 0.118 254.1)

  • #D2747E

    #D2747E

    oklch(66.6% 0.118 14)

  • #75A457

    #75A457

    oklch(66.7% 0.118 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F97DB

    #5F97DB

    oklch(66.7% 0.118 254.1)

  • #C776A6

    #C776A6

    oklch(66.8% 0.118 344.3)

  • #BF8836

    #BF8836

    oklch(66.6% 0.118 73.8)

  • #3EAB81

    #3EAB81

    oklch(66.8% 0.118 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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