#474B42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.6% 0.016 126.7), rgb(71, 75, 66).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (41%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.35:1
White text8.92:1

Values

HEX#474B42
RGBrgb(71, 75, 66)
HSLhsl(87, 6%, 28%)
OKLCHoklch(40.6% 0.016 126.7)

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 #474B42 8.92:1 AAA Lc -94.9 Preferred for body text
Black text on #474B42 2.35:1 Fails Lc 13.5 Not readable
#474B42 text on white 8.92:1 AAA Lc 90.5 Preferred for body text
#474B42 text on black 2.35:1 Fails Lc -11.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

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD6

    oklch(88.6% 0.006 128.5)

  4. Step 300

    300

    #BFC2BB

    oklch(81% 0.01 125.7)

  5. Step 400

    400

    #9EA299

    oklch(70.6% 0.014 126.5)

  6. Step 500

    500

    #868C80

    oklch(63.2% 0.019 128.8)

  7. Step 600

    600

    #707669

    oklch(55.7% 0.021 127.4)

  8. Step 700

    700

    #5E6357

    oklch(49.2% 0.02 125.6)

  9. Step 800

    800 (this color)

    #474B42

    oklch(40.6% 0.016 126.7)

  10. Step 900

    900

    #40433C

    oklch(37.8% 0.012 126)

  11. Step 950

    950

    #252723

    oklch(26.9% 0.008 128.8)

Export this scale for Tailwind in the Tailwind colors tool

#474B42 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)#4C4A420.008
Deuteranopia (no green cones)#4B4A420.007
Tritanopia (no blue cones)#484A480.012
Achromatopsia (no color)#4A4A4A0.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #474B42

    #474B42

    oklch(40.6% 0.016 126.7)

  • #4B4750

    #4B4750

    oklch(40.5% 0.016 305.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #474B42

    #474B42

    oklch(40.6% 0.016 126.7)

  • #4C4940

    #4C4940

    oklch(40.5% 0.015 91.7)

  • #434C46

    #434C46

    oklch(40.6% 0.015 156.5)

Open the analogous palette in the generator

Split complementary

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

  • #474B42

    #474B42

    oklch(40.6% 0.016 126.7)

  • #474952

    #474952

    oklch(40.7% 0.015 275.7)

  • #4F464C

    #4F464C

    oklch(40.5% 0.015 338)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #474B42

    #474B42

    oklch(40.6% 0.016 126.7)

  • #434A52

    #434A52

    oklch(40.6% 0.016 251.7)

  • #514648

    #514648

    oklch(40.6% 0.015 5.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #474B42

    #474B42

    oklch(40.6% 0.016 126.7)

  • #404C4F

    #404C4F

    oklch(40.7% 0.016 214.5)

  • #4B4750

    #4B4750

    oklch(40.5% 0.016 305.7)

  • #514743

    #514743

    oklch(40.7% 0.015 43.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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