#5F7CCB

Closest named color: Cool Blue (#4984B8). oklch(60% 0.125 267.4), rgb(95, 124, 203).

Aa

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

About this color

#5F7CCB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.125 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.047 away. Black text reads best on it, at 5.23:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.23:1
White text4.01:1

Values

HEX#5F7CCB
RGBrgb(95, 124, 203)
HSLhsl(224, 51%, 58%)
OKLCHoklch(60% 0.125 267.4)

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 #5F7CCB 4.01:1 AA large text Lc -72.8 Content text, not long reading
Black text on #5F7CCB 5.23:1 AA Lc 36.8 Non-text elements, placeholder text
#5F7CCB text on white 4.01:1 AA large text Lc 67.3 Content text, not long reading
#5F7CCB text on black 5.23:1 AA Lc -34.4 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AFC0E9

    oklch(80.9% 0.061 267.4)

  5. Step 400

    400

    #859FDE

    oklch(70.7% 0.097 266.7)

  6. Step 500

    500 (this color)

    #5F7CCB

    oklch(60% 0.125 267.4)

  7. Step 600

    600

    #506EC3

    oklch(55.7% 0.136 267.3)

  8. Step 700

    700

    #415BA8

    oklch(49.1% 0.127 267.6)

  9. Step 800

    800

    #354B88

    oklch(42.7% 0.105 267)

  10. Step 900

    900

    #2E3F6D

    oklch(37.7% 0.082 267.1)

  11. Step 950

    950

    #1B2540

    oklch(27% 0.052 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F7CCB 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)#5C84CE0.021
Deuteranopia (no green cones)#507AC90.019
Tritanopia (no blue cones)#288D9A0.112
Achromatopsia (no color)#7F7F7F0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7CCB

    #5F7CCB

    oklch(60% 0.125 267.4)

  • #9F7A00

    #9F7A00

    oklch(59.9% 0.122 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7CCB

    #5F7CCB

    oklch(60% 0.125 267.4)

  • #188AC1

    #188AC1

    oklch(60.1% 0.125 236.9)

  • #896EC1

    #896EC1

    oklch(59.9% 0.126 297.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F7CCB

    #5F7CCB

    oklch(60% 0.125 267.4)

  • #B76A28

    #B76A28

    oklch(59.9% 0.125 57)

  • #7B8922

    #7B8922

    oklch(59.9% 0.125 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7CCB

    #5F7CCB

    oklch(60% 0.125 267.4)

  • #C05F56

    #C05F56

    oklch(60% 0.126 26.9)

  • #459452

    #459452

    oklch(60% 0.126 147.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7CCB

    #5F7CCB

    oklch(60% 0.125 267.4)

  • #BA5D81

    #BA5D81

    oklch(60% 0.126 357.1)

  • #9F7A00

    #9F7A00

    oklch(59.9% 0.122 87.3)

  • #00957F

    #00957F

    oklch(59.9% 0.111 177.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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