#404D41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.026 147.2), rgb(64, 77, 65).

Aa

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

About this color

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

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

Values

HEX#404D41
RGBrgb(64, 77, 65)
HSLhsl(125, 9%, 28%)
OKLCHoklch(40.5% 0.026 147.2)

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 #404D41 8.91:1 AAA Lc -94.9 Preferred for body text
Black text on #404D41 2.35:1 Fails Lc 13.5 Not readable
#404D41 text on white 8.91:1 AAA Lc 90.4 Preferred for body text
#404D41 text on black 2.35:1 Fails Lc -11.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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E8EBE8

    oklch(93.7% 0.005 145.5)

  3. Step 200

    200

    #D6DBD6

    oklch(88.6% 0.009 145.5)

  4. Step 300

    300

    #BAC3BB

    oklch(80.8% 0.015 148.7)

  5. Step 400

    400

    #97A598

    oklch(70.7% 0.024 147.3)

  6. Step 500

    500

    #7E8F7F

    oklch(63.2% 0.031 146.8)

  7. Step 600

    600

    #677968

    oklch(55.6% 0.034 146.6)

  8. Step 700

    700

    #556657

    oklch(49.1% 0.031 148.4)

  9. Step 800

    800 (this color)

    #404D41

    oklch(40.5% 0.026 147.2)

  10. Step 900

    900

    #3B453B

    oklch(37.8% 0.021 145.1)

  11. Step 950

    950

    #222823

    oklch(26.9% 0.013 150.2)

Export this scale for Tailwind in the Tailwind colors tool

#404D41 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)#4D4B400.020
Deuteranopia (no green cones)#4B49420.021
Tritanopia (no blue cones)#3F4C4A0.016
Achromatopsia (no color)#4A4A4A0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #404D41

    #404D41

    oklch(40.5% 0.026 147.2)

  • #514450

    #514450

    oklch(40.4% 0.026 328.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404D41

    #404D41

    oklch(40.5% 0.026 147.2)

  • #484B3B

    #484B3B

    oklch(40.5% 0.026 116.2)

  • #3A4E49

    #3A4E49

    oklch(40.5% 0.026 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #404D41

    #404D41

    oklch(40.5% 0.026 147.2)

  • #4A4656

    #4A4656

    oklch(40.4% 0.027 296.6)

  • #554349

    #554349

    oklch(40.4% 0.026 356.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404D41

    #404D41

    oklch(40.5% 0.026 147.2)

  • #434957

    #434957

    oklch(40.5% 0.025 267)

  • #564441

    #564441

    oklch(40.5% 0.025 29.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404D41

    #404D41

    oklch(40.5% 0.026 147.2)

  • #3C4B55

    #3C4B55

    oklch(40.4% 0.025 237.5)

  • #514450

    #514450

    oklch(40.4% 0.026 328.5)

  • #54463B

    #54463B

    oklch(40.5% 0.026 60.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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