#5F7DCC

Closest named color: Cool Blue (#4984B8). oklch(60.3% 0.126 266.9), rgb(95, 125, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.29:1
White text3.96:1

Values

HEX#5F7DCC
RGBrgb(95, 125, 204)
HSLhsl(223, 52%, 59%)
OKLCHoklch(60.3% 0.126 266.9)

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 #5F7DCC 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #5F7DCC 5.29:1 AA Lc 37.2 Non-text elements, placeholder text
#5F7DCC text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#5F7DCC text on black 5.29:1 AA Lc -34.8 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)

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  7. Step 600

    600

    #4F6EC3

    oklch(55.6% 0.137 266.9)

  8. Step 700

    700

    #405BA8

    oklch(49% 0.127 267.1)

  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

#5F7DCC 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)#5D85CF0.021
Deuteranopia (no green cones)#507BCA0.019
Tritanopia (no blue cones)#278E9B0.112
Achromatopsia (no color)#8080800.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7DCC

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  • #A17B00

    #A17B00

    oklch(60.3% 0.123 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7DCC

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  • #178BC2

    #178BC2

    oklch(60.4% 0.125 236.7)

  • #896FC2

    #896FC2

    oklch(60.2% 0.125 296.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F7DCC

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  • #B86B29

    #B86B29

    oklch(60.3% 0.125 57.1)

  • #7C8A22

    #7C8A22

    oklch(60.2% 0.125 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7DCC

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  • #C16057

    #C16057

    oklch(60.3% 0.126 26.9)

  • #479552

    #479552

    oklch(60.3% 0.126 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7DCC

    #5F7DCC

    oklch(60.3% 0.126 266.9)

  • #BB5E82

    #BB5E82

    oklch(60.3% 0.126 357.1)

  • #A17B00

    #A17B00

    oklch(60.3% 0.123 86.8)

  • #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 #5F7DCC, closest first.

Similar named colors

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

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