#5B6877

Closest named color: Slate (#516572). oklch(51.2% 0.029 252.1), rgb(91, 104, 119).

Aa

White text reads best on this color (5.68:1).

About this color

#5B6877 is a medium-dark close to neutral grey. In OKLCH its lightness is 51%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Slate (#516572), ΔE 0.019 away. White text reads best on it, at 5.68:1.

Hue familyNeutrals
Lightnessmedium-dark (51%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameSlate (#516572)
Black text3.69:1
White text5.68:1

Values

HEX#5B6877
RGBrgb(91, 104, 119)
HSLhsl(212, 13%, 41%)
OKLCHoklch(51.2% 0.029 252.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 #5B6877 5.68:1 AA Lc -83.7 Fine for body text
Black text on #5B6877 3.69:1 AA large text Lc 25.6 Dividers and decoration only
#5B6877 text on white 5.68:1 AA Lc 78.5 Fine for body text
#5B6877 text on black 3.69:1 AA large text Lc -23.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D5D9DE

    oklch(88.4% 0.008 253.9)

  4. Step 300

    300

    #BAC1CA

    oklch(80.8% 0.015 254.6)

  5. Step 400

    400

    #97A2AE

    oklch(70.7% 0.022 250.5)

  6. Step 500

    500

    #7D8B9B

    oklch(63.1% 0.029 251.8)

  7. Step 600

    600

    #677585

    oklch(55.7% 0.03 251.8)

  8. Step 700

    700 (this color)

    #5B6877

    oklch(51.2% 0.029 252.1)

  9. Step 800

    800

    #46505C

    oklch(42.7% 0.024 253.1)

  10. Step 900

    900

    #3B424B

    oklch(37.6% 0.018 254.7)

  11. Step 950

    950

    #22272C

    oklch(27% 0.012 248.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B6877 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)#6368780.012
Deuteranopia (no green cones)#5F65770.010
Tritanopia (no blue cones)#546B6D0.023
Achromatopsia (no color)#6767670.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B6877

    #5B6877

    oklch(51.2% 0.029 252.1)

  • #716455

    #716455

    oklch(51.1% 0.028 71.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B6877

    #5B6877

    oklch(51.2% 0.029 252.1)

  • #556B73

    #556B73

    oklch(51.3% 0.029 222)

  • #646577

    #646577

    oklch(51.2% 0.028 282.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B6877

    #5B6877

    oklch(51.2% 0.029 252.1)

  • #76625A

    #76625A

    oklch(51.3% 0.029 43)

  • #6A6755

    #6A6755

    oklch(51.1% 0.028 99.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B6877

    #5B6877

    oklch(51.2% 0.029 252.1)

  • #766062

    #766062

    oklch(51.1% 0.029 12)

  • #616A59

    #616A59

    oklch(51.1% 0.028 130.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B6877

    #5B6877

    oklch(51.2% 0.029 252.1)

  • #73606B

    #73606B

    oklch(51.1% 0.029 342.5)

  • #716455

    #716455

    oklch(51.1% 0.028 71.1)

  • #586C62

    #586C62

    oklch(51.2% 0.029 163.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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