#4E4F42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.3% 0.021 110.9), rgb(78, 79, 66).

Aa

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

About this color

#4E4F42 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.021. 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.33:1.

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.52:1
White text8.33:1

Values

HEX#4E4F42
RGBrgb(78, 79, 66)
HSLhsl(65, 9%, 28%)
OKLCHoklch(42.3% 0.021 110.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 #4E4F42 8.33:1 AAA Lc -93.4 Preferred for body text
Black text on #4E4F42 2.52:1 Fails Lc 15.2 Dividers and decoration only
#4E4F42 text on white 8.33:1 AAA Lc 88.8 Fine for body text
#4E4F42 text on black 2.52:1 Fails Lc -13.4 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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #D9D9D4

    oklch(88.4% 0.007 106.5)

  4. Step 300

    300

    #C1C1B9

    oklch(80.9% 0.011 106.6)

  5. Step 400

    400

    #A1A294

    oklch(70.7% 0.02 110.2)

  6. Step 500

    500

    #8A8B7A

    oklch(63.1% 0.025 109.8)

  7. Step 600

    600

    #747563

    oklch(55.6% 0.027 109.8)

  8. Step 700

    700

    #616252

    oklch(49% 0.025 110.2)

  9. Step 800

    800 (this color)

    #4E4F42

    oklch(42.3% 0.021 110.9)

  10. Step 900

    900

    #424239

    oklch(37.6% 0.015 107.1)

  11. Step 950

    950

    #262721

    oklch(27% 0.011 114.8)

Export this scale for Tailwind in the Tailwind colors tool

#4E4F42 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)#514E410.005
Deuteranopia (no green cones)#514E420.006
Tritanopia (no blue cones)#504D4B0.018
Achromatopsia (no color)#4E4E4E0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E4F42

    #4E4F42

    oklch(42.3% 0.021 110.9)

  • #4D4C59

    #4D4C59

    oklch(42.2% 0.021 289)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E4F42

    #4E4F42

    oklch(42.3% 0.021 110.9)

  • #544D41

    #544D41

    oklch(42.3% 0.021 81.2)

  • #485146

    #485146

    oklch(42.3% 0.021 140)

Open the analogous palette in the generator

Split complementary

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

  • #4E4F42

    #4E4F42

    oklch(42.3% 0.021 110.9)

  • #474E59

    #474E59

    oklch(42.2% 0.02 259.4)

  • #534A55

    #534A55

    oklch(42.2% 0.021 320.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E4F42

    #4E4F42

    oklch(42.3% 0.021 110.9)

  • #435057

    #435057

    oklch(42.3% 0.02 231.4)

  • #57494F

    #57494F

    oklch(42.2% 0.021 350.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E4F42

    #4E4F42

    oklch(42.3% 0.021 110.9)

  • #415152

    #415152

    oklch(42.2% 0.02 201.1)

  • #4D4C59

    #4D4C59

    oklch(42.2% 0.021 289)

  • #594949

    #594949

    oklch(42.2% 0.022 18)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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