#474E40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.3% 0.024 129.1), rgb(71, 78, 64).

Aa

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

About this color

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

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

Values

HEX#474E40
RGBrgb(71, 78, 64)
HSLhsl(90, 10%, 28%)
OKLCHoklch(41.3% 0.024 129.1)

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 #474E40 8.63:1 AAA Lc -94.2 Preferred for body text
Black text on #474E40 2.43:1 Fails Lc 14.3 Not readable
#474E40 text on white 8.63:1 AAA Lc 89.7 Fine for body text
#474E40 text on black 2.43:1 Fails Lc -12.6 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

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D7DAD5

    oklch(88.5% 0.007 132.4)

  4. Step 300

    300

    #BEC2B9

    oklch(80.8% 0.013 126.4)

  5. Step 400

    400

    #9CA495

    oklch(70.8% 0.023 130.1)

  6. Step 500

    500

    #848D7B

    oklch(63.1% 0.028 129)

  7. Step 600

    600

    #6D7764

    oklch(55.5% 0.031 130.1)

  8. Step 700

    700

    #5B6453

    oklch(49% 0.029 130.2)

  9. Step 800

    800 (this color)

    #474E40

    oklch(41.3% 0.024 129.1)

  10. Step 900

    900

    #3E4439

    oklch(37.7% 0.02 130.8)

  11. Step 950

    950

    #252821

    oklch(27.1% 0.013 126.2)

Export this scale for Tailwind in the Tailwind colors tool

#474E40 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)#504C3F0.015
Deuteranopia (no green cones)#4E4C410.013
Tritanopia (no blue cones)#484D4A0.018
Achromatopsia (no color)#4C4C4C0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #474E40

    #474E40

    oklch(41.3% 0.024 129.1)

  • #4F4856

    #4F4856

    oklch(41.4% 0.025 307.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #474E40

    #474E40

    oklch(41.3% 0.024 129.1)

  • #4E4C3C

    #4E4C3C

    oklch(41.4% 0.026 101.5)

  • #404F46

    #404F46

    oklch(41.2% 0.024 158.8)

Open the analogous palette in the generator

Split complementary

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

  • #474E40

    #474E40

    oklch(41.3% 0.024 129.1)

  • #484A59

    #484A59

    oklch(41.3% 0.025 279.3)

  • #554650

    #554650

    oklch(41.3% 0.026 338.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #474E40

    #474E40

    oklch(41.3% 0.024 129.1)

  • #414D58

    #414D58

    oklch(41.4% 0.024 246.1)

  • #584648

    #584648

    oklch(41.4% 0.025 10.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #474E40

    #474E40

    oklch(41.3% 0.024 129.1)

  • #3D4F54

    #3D4F54

    oklch(41.4% 0.024 216.6)

  • #4F4856

    #4F4856

    oklch(41.4% 0.025 307.8)

  • #574741

    #574741

    oklch(41.3% 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 #474E40, closest first.

Similar named colors

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

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