#4D4F51

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.004 247.9), rgb(77, 79, 81).

Aa

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

About this color

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

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

Values

HEX#4D4F51
RGBrgb(77, 79, 81)
HSLhsl(210, 3%, 31%)
OKLCHoklch(42.6% 0.004 247.9)

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 #4D4F51 8.22:1 AAA Lc -93.1 Preferred for body text
Black text on #4D4F51 2.55:1 Fails Lc 15.5 Dividers and decoration only
#4D4F51 text on white 8.22:1 AAA Lc 88.5 Fine for body text
#4D4F51 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

    #E9EAEA

    oklch(93.6% 0.001 197.1)

  3. Step 200

    200

    #D8D9DA

    oklch(88.5% 0.002 247.8)

  4. Step 300

    300

    #BFC1C2

    oklch(81% 0.003 228.8)

  5. Step 400

    400

    #9FA1A3

    oklch(70.8% 0.004 247.9)

  6. Step 500

    500

    #878A8C

    oklch(63.2% 0.005 236.5)

  7. Step 600

    600

    #717476

    oklch(55.7% 0.005 236.6)

  8. Step 700

    700

    #5E6163

    oklch(49.1% 0.005 236.6)

  9. Step 800

    800 (this color)

    #4D4F51

    oklch(42.6% 0.004 247.9)

  10. Step 900

    900

    #404243

    oklch(37.8% 0.003 228.9)

  11. Step 950

    950

    #262627

    oklch(26.9% 0.002 286.3)

Export this scale for Tailwind in the Tailwind colors tool

#4D4F51 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)#4E4F510.002
Deuteranopia (no green cones)#4E4F510.002
Tritanopia (no blue cones)#4C4F500.002
Achromatopsia (no color)#4F4F4F0.004

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 #4D4F51, closest first.

Similar named colors

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

Use #4D4F51 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.