#51584E

Closest named color: Dark Slate Gray (#2F4F4F). oklch(45.1% 0.018 136.2), rgb(81, 88, 78).

Aa

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

About this color

#51584E is a medium-dark close to neutral grey. In OKLCH its lightness is 45%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.058 away. White text reads best on it, at 7.35:1.

Hue familyNeutrals
Lightnessmedium-dark (45%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.85:1
White text7.35:1

Values

HEX#51584E
RGBrgb(81, 88, 78)
HSLhsl(102, 6%, 33%)
OKLCHoklch(45.1% 0.018 136.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 #51584E 7.35:1 AAA Lc -90.4 Preferred for body text
Black text on #51584E 2.85:1 Fails Lc 18.4 Dividers and decoration only
#51584E text on white 7.35:1 AAA Lc 85.6 Fine for body text
#51584E text on black 2.85:1 Fails Lc -16.5 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 800.

  1. Step 50

    50

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD6

    oklch(88.5% 0.006 137.8)

  4. Step 300

    300

    #BDC2BB

    oklch(80.8% 0.011 136.6)

  5. Step 400

    400

    #9CA399

    oklch(70.7% 0.016 136.1)

  6. Step 500

    500

    #848D80

    oklch(63.2% 0.022 135.9)

  7. Step 600

    600

    #6D7769

    oklch(55.7% 0.024 136.7)

  8. Step 700

    700

    #5B6457

    oklch(49.1% 0.023 135.9)

  9. Step 800

    800 (this color)

    #51584E

    oklch(45.1% 0.018 136.2)

  10. Step 900

    900

    #3E433C

    oklch(37.6% 0.013 136.6)

  11. Step 950

    950

    #242723

    oklch(26.8% 0.008 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#51584E 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)#59564D0.013
Deuteranopia (no green cones)#58564E0.012
Tritanopia (no blue cones)#5157550.013
Achromatopsia (no color)#5656560.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #51584E

    #51584E

    oklch(45.1% 0.018 136.2)

  • #5A535D

    #5A535D

    oklch(45.3% 0.018 315.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51584E

    #51584E

    oklch(45.1% 0.018 136.2)

  • #57564B

    #57564B

    oklch(45.1% 0.017 102.8)

  • #4C5953

    #4C5953

    oklch(45.1% 0.019 166)

Open the analogous palette in the generator

Split complementary

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

  • #51584E

    #51584E

    oklch(45.1% 0.018 136.2)

  • #545460

    #545460

    oklch(45% 0.019 285.6)

  • #5E5258

    #5E5258

    oklch(45.2% 0.018 346.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51584E

    #51584E

    oklch(45.1% 0.018 136.2)

  • #4F5660

    #4F5660

    oklch(45.1% 0.019 257.2)

  • #5F5252

    #5F5252

    oklch(45.1% 0.017 17.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51584E

    #51584E

    oklch(45.1% 0.018 136.2)

  • #4B585D

    #4B585D

    oklch(45.1% 0.018 223)

  • #5A535D

    #5A535D

    oklch(45.3% 0.018 315.9)

  • #5F534D

    #5F534D

    oklch(45.2% 0.019 48.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51584E 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.