#474F42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.6% 0.023 133.3), rgb(71, 79, 66).

Aa

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

About this color

#474F42 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.036 away. White text reads best on it, at 8.51:1.

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

Values

HEX#474F42
RGBrgb(71, 79, 66)
HSLhsl(97, 9%, 28%)
OKLCHoklch(41.6% 0.023 133.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 #474F42 8.51:1 AAA Lc -93.9 Preferred for body text
Black text on #474F42 2.46:1 Fails Lc 14.7 Not readable
#474F42 text on white 8.51:1 AAA Lc 89.3 Fine for body text
#474F42 text on black 2.46:1 Fails Lc -12.9 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD5

    oklch(88.5% 0.007 132.4)

  4. Step 300

    300

    #BDC3BA

    oklch(81% 0.014 134.9)

  5. Step 400

    400

    #9BA496

    oklch(70.7% 0.022 134.1)

  6. Step 500

    500

    #838D7C

    oklch(63% 0.028 132.3)

  7. Step 600

    600

    #6C7765

    oklch(55.5% 0.03 133.2)

  8. Step 700

    700

    #5A6454

    oklch(49% 0.028 133.7)

  9. Step 800

    800 (this color)

    #474F42

    oklch(41.6% 0.023 133.3)

  10. Step 900

    900

    #3E443A

    oklch(37.8% 0.018 132.7)

  11. Step 950

    950

    #242822

    oklch(27.1% 0.012 135.1)

Export this scale for Tailwind in the Tailwind colors tool

#474F42 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)#504D410.015
Deuteranopia (no green cones)#4F4C430.016
Tritanopia (no blue cones)#474E4B0.016
Achromatopsia (no color)#4D4D4D0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #474F42

    #474F42

    oklch(41.6% 0.023 133.3)

  • #514855

    #514855

    oklch(41.5% 0.024 315.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #474F42

    #474F42

    oklch(41.6% 0.023 133.3)

  • #4E4D3E

    #4E4D3E

    oklch(41.7% 0.024 104.2)

  • #415048

    #415048

    oklch(41.6% 0.023 162)

Open the analogous palette in the generator

Split complementary

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

  • #474F42

    #474F42

    oklch(41.6% 0.023 133.3)

  • #4A4B59

    #4A4B59

    oklch(41.7% 0.023 282.1)

  • #56474F

    #56474F

    oklch(41.6% 0.024 344.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #474F42

    #474F42

    oklch(41.6% 0.023 133.3)

  • #434D59

    #434D59

    oklch(41.6% 0.024 253.1)

  • #584748

    #584748

    oklch(41.6% 0.023 14.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #474F42

    #474F42

    oklch(41.6% 0.023 133.3)

  • #3E4F56

    #3E4F56

    oklch(41.6% 0.024 224.9)

  • #514855

    #514855

    oklch(41.5% 0.024 315.5)

  • #584842

    #584842

    oklch(41.6% 0.024 41.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #474F42 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.