#5F7CCC

Closest named color: Cool Blue (#4984B8). oklch(60.1% 0.127 267.5), rgb(95, 124, 204).

Aa

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

About this color

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

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

Values

HEX#5F7CCC
RGBrgb(95, 124, 204)
HSLhsl(224, 52%, 59%)
OKLCHoklch(60.1% 0.127 267.5)

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 #5F7CCC 4.00:1 AA large text Lc -72.7 Content text, not long reading
Black text on #5F7CCC 5.24:1 AA Lc 36.9 Non-text elements, placeholder text
#5F7CCC text on white 4.00:1 AA large text Lc 67.2 Content text, not long reading
#5F7CCC text on black 5.24: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

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AFC0EA

    oklch(80.9% 0.062 267.7)

  5. Step 400

    400

    #859FDF

    oklch(70.8% 0.099 266.9)

  6. Step 500

    500 (this color)

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  7. Step 600

    600

    #506DC3

    oklch(55.5% 0.138 267.7)

  8. Step 700

    700

    #415BA9

    oklch(49.1% 0.128 267.7)

  9. Step 800

    800

    #354B89

    oklch(42.8% 0.106 267.2)

  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

#5F7CCC 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)#5C84CF0.021
Deuteranopia (no green cones)#4F7ACA0.020
Tritanopia (no blue cones)#278D9A0.113
Achromatopsia (no color)#7F7F7F0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7CCC

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  • #9F7B00

    #9F7B00

    oklch(60.1% 0.123 88)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7CCC

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  • #158AC2

    #158AC2

    oklch(60.1% 0.126 237.2)

  • #8A6EC2

    #8A6EC2

    oklch(60.1% 0.127 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F7CCC

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  • #B86A26

    #B86A26

    oklch(60.1% 0.127 57.1)

  • #7B8A20

    #7B8A20

    oklch(60.1% 0.127 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7CCC

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  • #C05F55

    #C05F55

    oklch(60% 0.126 27.5)

  • #449452

    #449452

    oklch(59.9% 0.126 147.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7CCC

    #5F7CCC

    oklch(60.1% 0.127 267.5)

  • #BB5D81

    #BB5D81

    oklch(60.1% 0.127 357.4)

  • #9F7B00

    #9F7B00

    oklch(60.1% 0.123 88)

  • #009680

    #009680

    oklch(60.2% 0.111 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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