#504E52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.007 308.3), rgb(80, 78, 82).

Aa

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

About this color

#504E52 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.007. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.048 away. White text reads best on it, at 8.22:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.007)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.55:1
White text8.22:1

Values

HEX#504E52
RGBrgb(80, 78, 82)
HSLhsl(270, 3%, 31%)
OKLCHoklch(42.7% 0.007 308.3)

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 #504E52 8.22:1 AAA Lc -93.1 Preferred for body text
Black text on #504E52 2.55:1 Fails Lc 15.5 Dividers and decoration only
#504E52 text on white 8.22:1 AAA Lc 88.5 Fine for body text
#504E52 text on black 2.55:1 Fails Lc -13.7 Not readable

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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #EAE9EA

    oklch(93.5% 0.002 325.6)

  3. Step 200

    200

    #D9D9DA

    oklch(88.6% 0.001 286.4)

  4. Step 300

    300

    #C1C0C3

    oklch(80.9% 0.004 301.4)

  5. Step 400

    400

    #A29FA4

    oklch(70.7% 0.008 312.3)

  6. Step 500

    500

    #8B888D

    oklch(63.1% 0.008 312.3)

  7. Step 600

    600

    #757277

    oklch(55.6% 0.008 312.2)

  8. Step 700

    700

    #625F64

    oklch(49% 0.009 312.2)

  9. Step 800

    800 (this color)

    #504E52

    oklch(42.7% 0.007 308.3)

  10. Step 900

    900

    #424144

    oklch(37.7% 0.005 301.3)

  11. Step 950

    950

    #272628

    oklch(27% 0.004 308.3)

Export this scale for Tailwind in the Tailwind colors tool

#504E52 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)#4D4F520.005
Deuteranopia (no green cones)#4E4F520.004
Tritanopia (no blue cones)#504E4F0.005
Achromatopsia (no color)#4F4F4F0.007

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #504E52 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.