#5F7ECB

Closest named color: Cool Blue (#4984B8). oklch(60.4% 0.123 266.2), rgb(95, 126, 203).

Aa

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

About this color

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

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

Values

HEX#5F7ECB
RGBrgb(95, 126, 203)
HSLhsl(223, 51%, 58%)
OKLCHoklch(60.4% 0.123 266.2)

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 #5F7ECB 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #5F7ECB 5.33:1 AA Lc 37.5 Non-text elements, placeholder text
#5F7ECB text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#5F7ECB text on black 5.33:1 AA Lc -35.0 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

    #AFC0E8

    oklch(80.8% 0.06 267)

  5. Step 400

    400

    #859FDD

    oklch(70.7% 0.096 266.5)

  6. Step 500

    500 (this color)

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  7. Step 600

    600

    #4E6EC1

    oklch(55.5% 0.134 266.3)

  8. Step 700

    700

    #3F5CA7

    oklch(49.1% 0.125 266)

  9. Step 800

    800

    #344B87

    oklch(42.6% 0.104 266.3)

  10. Step 900

    900

    #2E3F6C

    oklch(37.6% 0.08 266.9)

  11. Step 950

    950

    #1B253F

    oklch(26.9% 0.051 267)

Export this scale for Tailwind in the Tailwind colors tool

#5F7ECB 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)#5F85CE0.019
Deuteranopia (no green cones)#537CC90.016
Tritanopia (no blue cones)#288F9B0.110
Achromatopsia (no color)#8080800.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7ECB

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  • #A27B03

    #A27B03

    oklch(60.5% 0.123 86.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7ECB

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  • #1B8BC1

    #1B8BC1

    oklch(60.4% 0.123 236.5)

  • #8971C2

    #8971C2

    oklch(60.5% 0.122 296.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F7ECB

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  • #B86C2E

    #B86C2E

    oklch(60.5% 0.123 56.4)

  • #7E8A25

    #7E8A25

    oklch(60.4% 0.123 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7ECB

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  • #C06159

    #C06159

    oklch(60.4% 0.123 26.3)

  • #4B9553

    #4B9553

    oklch(60.5% 0.123 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7ECB

    #5F7ECB

    oklch(60.4% 0.123 266.2)

  • #BA6084

    #BA6084

    oklch(60.5% 0.122 356.1)

  • #A27B03

    #A27B03

    oklch(60.5% 0.123 86.1)

  • #00977F

    #00977F

    oklch(60.4% 0.113 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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