#404D48

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.019 170.1), rgb(64, 77, 72).

Aa

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

About this color

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

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

Values

HEX#404D48
RGBrgb(64, 77, 72)
HSLhsl(157, 9%, 28%)
OKLCHoklch(40.7% 0.019 170.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 #404D48 8.84:1 AAA Lc -94.7 Preferred for body text
Black text on #404D48 2.37:1 Fails Lc 13.7 Not readable
#404D48 text on white 8.84:1 AAA Lc 90.3 Preferred for body text
#404D48 text on black 2.37:1 Fails Lc -12.0 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E8EAE9

    oklch(93.5% 0.003 165.1)

  3. Step 200

    200

    #D5DAD8

    oklch(88.4% 0.006 170.4)

  4. Step 300

    300

    #BAC3BF

    oklch(80.9% 0.011 167.7)

  5. Step 400

    400

    #97A49F

    oklch(70.7% 0.016 170.8)

  6. Step 500

    500

    #7D8E87

    oklch(63.1% 0.022 168.9)

  7. Step 600

    600

    #667871

    oklch(55.6% 0.024 170)

  8. Step 700

    700

    #55655F

    oklch(49.1% 0.022 170.7)

  9. Step 800

    800 (this color)

    #404D48

    oklch(40.7% 0.019 170.1)

  10. Step 900

    900

    #3A4440

    oklch(37.6% 0.015 169.5)

  11. Step 950

    950

    #222826

    oklch(27% 0.009 173.5)

Export this scale for Tailwind in the Tailwind colors tool

#404D48 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)#4C4B480.019
Deuteranopia (no green cones)#4A49480.019
Tritanopia (no blue cones)#3D4D4B0.006
Achromatopsia (no color)#4A4A4A0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #404D48

    #404D48

    oklch(40.7% 0.019 170.1)

  • #52464B

    #52464B

    oklch(40.8% 0.018 350.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404D48

    #404D48

    oklch(40.7% 0.019 170.1)

  • #444C43

    #444C43

    oklch(40.6% 0.018 142.1)

  • #3E4D4E

    #3E4D4E

    oklch(40.8% 0.019 201.4)

Open the analogous palette in the generator

Split complementary

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

  • #404D48

    #404D48

    oklch(40.7% 0.019 170.1)

  • #4E4650

    #4E4650

    oklch(40.6% 0.019 319.5)

  • #534645

    #534645

    oklch(40.7% 0.018 23.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404D48

    #404D48

    oklch(40.7% 0.019 170.1)

  • #494853

    #494853

    oklch(40.7% 0.018 289.7)

  • #524741

    #524741

    oklch(40.7% 0.018 50.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404D48

    #404D48

    oklch(40.7% 0.019 170.1)

  • #444A54

    #444A54

    oklch(40.7% 0.019 260.7)

  • #52464B

    #52464B

    oklch(40.8% 0.018 350.9)

  • #4F493E

    #4F493E

    oklch(40.8% 0.02 82.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404D48 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.