#404C41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.024 147.4), rgb(64, 76, 65).

Aa

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

About this color

#404C41 is a dark close to neutral grey. In OKLCH its lightness is 40%, 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.028 away. White text reads best on it, at 9.02:1.

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.32:1
White text9.02:1

Values

HEX#404C41
RGBrgb(64, 76, 65)
HSLhsl(125, 9%, 27%)
OKLCHoklch(40.2% 0.024 147.4)

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 #404C41 9.02:1 AAA Lc -95.1 Preferred for body text
Black text on #404C41 2.32:1 Fails Lc 13.2 Not readable
#404C41 text on white 9.02:1 AAA Lc 90.7 Preferred for body text
#404C41 text on black 2.32:1 Fails Lc -11.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

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E8EAE8

    oklch(93.5% 0.003 145.5)

  3. Step 200

    200

    #D6DAD6

    oklch(88.4% 0.007 145.5)

  4. Step 300

    300

    #BBC3BB

    oklch(80.9% 0.014 145.4)

  5. Step 400

    400

    #98A599

    oklch(70.8% 0.023 147.5)

  6. Step 500

    500

    #7F8E80

    oklch(63% 0.027 147.1)

  7. Step 600

    600

    #687969

    oklch(55.7% 0.032 146.7)

  8. Step 700

    700

    #566557

    oklch(49% 0.029 146.9)

  9. Step 800

    800 (this color)

    #404C41

    oklch(40.2% 0.024 147.4)

  10. Step 900

    900

    #3B443C

    oklch(37.6% 0.018 148.4)

  11. Step 950

    950

    #232823

    oklch(27% 0.012 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#404C41 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)#4C4A400.019
Deuteranopia (no green cones)#4A48420.020
Tritanopia (no blue cones)#3F4B490.015
Achromatopsia (no color)#4949490.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C41

    #404C41

    oklch(40.2% 0.024 147.4)

  • #50444F

    #50444F

    oklch(40.3% 0.024 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C41

    #404C41

    oklch(40.2% 0.024 147.4)

  • #474A3C

    #474A3C

    oklch(40.2% 0.023 117.3)

  • #3B4D48

    #3B4D48

    oklch(40.3% 0.024 176.2)

Open the analogous palette in the generator

Split complementary

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

  • #404C41

    #404C41

    oklch(40.2% 0.024 147.4)

  • #494654

    #494654

    oklch(40.2% 0.024 295.1)

  • #534348

    #534348

    oklch(40.1% 0.023 357.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C41

    #404C41

    oklch(40.2% 0.024 147.4)

  • #434856

    #434856

    oklch(40.3% 0.024 269.8)

  • #554441

    #554441

    oklch(40.4% 0.024 29.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C41

    #404C41

    oklch(40.2% 0.024 147.4)

  • #3C4A54

    #3C4A54

    oklch(40.1% 0.025 239.3)

  • #50444F

    #50444F

    oklch(40.3% 0.024 328.7)

  • #53453C

    #53453C

    oklch(40.2% 0.024 54.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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