#404C3D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.1% 0.029 139.4), rgb(64, 76, 61).

Aa

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

About this color

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

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

Values

HEX#404C3D
RGBrgb(64, 76, 61)
HSLhsl(108, 11%, 27%)
OKLCHoklch(40.1% 0.029 139.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 #404C3D 9.05:1 AAA Lc -95.2 Preferred for body text
Black text on #404C3D 2.31:1 Fails Lc 13.1 Not readable
#404C3D text on white 9.05:1 AAA Lc 90.8 Preferred for body text
#404C3D text on black 2.31:1 Fails Lc -11.5 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 900.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D5DBD4

    oklch(88.5% 0.011 141.3)

  4. Step 300

    300

    #BAC4B7

    oklch(80.9% 0.021 138.4)

  5. Step 400

    400

    #96A692

    oklch(70.7% 0.034 139.4)

  6. Step 500

    500

    #7C9077

    oklch(63% 0.043 139.4)

  7. Step 600

    600

    #657B5F

    oklch(55.7% 0.05 139)

  8. Step 700

    700

    #54674F

    oklch(49.1% 0.044 139.2)

  9. Step 800

    800

    #445441

    oklch(42.6% 0.037 140.7)

  10. Step 900

    900 (this color)

    #404C3D

    oklch(40.1% 0.029 139.4)

  11. Step 950

    950

    #222920

    oklch(27.1% 0.019 138.8)

Export this scale for Tailwind in the Tailwind colors tool

#404C3D 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)#4D493C0.022
Deuteranopia (no green cones)#4B483E0.021
Tritanopia (no blue cones)#3F4B480.019
Achromatopsia (no color)#4949490.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C3D

    #404C3D

    oklch(40.1% 0.029 139.4)

  • #4F4352

    #4F4352

    oklch(40.1% 0.029 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C3D

    #404C3D

    oklch(40.1% 0.029 139.4)

  • #494937

    #494937

    oklch(40% 0.029 107.6)

  • #384D45

    #384D45

    oklch(40% 0.029 169.4)

Open the analogous palette in the generator

Split complementary

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

  • #404C3D

    #404C3D

    oklch(40.1% 0.029 139.4)

  • #474657

    #474657

    oklch(40.2% 0.028 287.7)

  • #55424A

    #55424A

    oklch(40.2% 0.029 351.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C3D

    #404C3D

    oklch(40.1% 0.029 139.4)

  • #3F4958

    #3F4958

    oklch(40.2% 0.029 258.4)

  • #574242

    #574242

    oklch(40.2% 0.029 18.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C3D

    #404C3D

    oklch(40.1% 0.029 139.4)

  • #384B55

    #384B55

    oklch(40.1% 0.029 231.3)

  • #4F4352

    #4F4352

    oklch(40.1% 0.029 319.5)

  • #55443A

    #55443A

    oklch(40.2% 0.029 52.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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