#504F4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.007 95.2), rgb(80, 79, 75).

Aa

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

About this color

#504F4B 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.046 away. White text reads best on it, at 8.19:1.

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

Values

HEX#504F4B
RGBrgb(80, 79, 75)
HSLhsl(48, 3%, 30%)
OKLCHoklch(42.7% 0.007 95.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 #504F4B 8.19:1 AAA Lc -93.0 Preferred for body text
Black text on #504F4B 2.56:1 Fails Lc 15.6 Dividers and decoration only
#504F4B text on white 8.19:1 AAA Lc 88.4 Fine for body text
#504F4B text on black 2.56:1 Fails Lc -13.8 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

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #EAEAE9

    oklch(93.7% 0.001 106.4)

  3. Step 200

    200

    #D9D9D7

    oklch(88.5% 0.003 106.5)

  4. Step 300

    300

    #C1C0BE

    oklch(80.8% 0.003 84.6)

  5. Step 400

    400

    #A2A19C

    oklch(70.8% 0.007 97.4)

  6. Step 500

    500

    #8B8984

    oklch(63% 0.008 88.7)

  7. Step 600

    600

    #75736E

    oklch(55.6% 0.008 88.7)

  8. Step 700

    700

    #62615C

    oklch(49.2% 0.008 97.5)

  9. Step 800

    800 (this color)

    #504F4B

    oklch(42.7% 0.007 95.2)

  10. Step 900

    900

    #42423F

    oklch(37.8% 0.005 106.6)

  11. Step 950

    950

    #272625

    oklch(26.9% 0.002 67.7)

Export this scale for Tailwind in the Tailwind colors tool

#504F4B 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)#504F4B0.000
Deuteranopia (no green cones)#504F4B0.000
Tritanopia (no blue cones)#514E4E0.007
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 #504F4B, closest first.

Similar named colors

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

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