#5F7FBE

Closest named color: Cool Blue (#4984B8). oklch(59.9% 0.104 263.1), rgb(95, 127, 190).

Aa

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

About this color

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

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

Values

HEX#5F7FBE
RGBrgb(95, 127, 190)
HSLhsl(220, 42%, 56%)
OKLCHoklch(59.9% 0.104 263.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 #5F7FBE 3.98:1 AA large text Lc -72.6 Content text, not long reading
Black text on #5F7FBE 5.26:1 AA Lc 37.0 Non-text elements, placeholder text
#5F7FBE text on white 3.98:1 AA large text Lc 67.1 Content text, not long reading
#5F7FBE text on black 5.26:1 AA Lc -34.6 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #B0C1E2

    oklch(80.9% 0.05 263.7)

  5. Step 400

    400

    #86A1D4

    oklch(70.8% 0.081 262.8)

  6. Step 500

    500 (this color)

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  7. Step 600

    600

    #5071B5

    oklch(55.5% 0.113 263.5)

  8. Step 700

    700

    #405F9C

    oklch(49.1% 0.105 262.8)

  9. Step 800

    800

    #354E7E

    oklch(42.7% 0.086 262.5)

  10. Step 900

    900

    #2E4165

    oklch(37.7% 0.067 262.4)

  11. Step 950

    950

    #1B263B

    oklch(26.9% 0.042 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F7FBE 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)#6784C10.018
Deuteranopia (no green cones)#5C7BBD0.012
Tritanopia (no blue cones)#358D960.093
Achromatopsia (no color)#7F7F7F0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7FBE

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  • #9E7A2D

    #9E7A2D

    oklch(60% 0.103 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7FBE

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  • #328AB4

    #328AB4

    oklch(60% 0.104 233.2)

  • #8374B8

    #8374B8

    oklch(60.1% 0.103 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F7FBE

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  • #B06E41

    #B06E41

    oklch(60% 0.103 53.7)

  • #808637

    #808637

    oklch(59.8% 0.103 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7FBE

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  • #B66662

    #B66662

    oklch(60% 0.104 23.6)

  • #599056

    #599056

    oklch(60% 0.104 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7FBE

    #5F7FBE

    oklch(59.9% 0.104 263.1)

  • #AF6585

    #AF6585

    oklch(59.9% 0.103 353.2)

  • #9E7A2D

    #9E7A2D

    oklch(60% 0.103 83.1)

  • #27947A

    #27947A

    oklch(60% 0.104 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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