#404A3A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.5% 0.029 133.8), rgb(64, 74, 58).

Aa

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

About this color

#404A3A 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.036 away. White text reads best on it, at 9.29:1.

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

Values

HEX#404A3A
RGBrgb(64, 74, 58)
HSLhsl(98, 12%, 26%)
OKLCHoklch(39.5% 0.029 133.8)

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 #404A3A 9.29:1 AAA Lc -95.8 Preferred for body text
Black text on #404A3A 2.25:1 Fails Lc 12.5 Not readable
#404A3A text on white 9.29:1 AAA Lc 91.5 Preferred for body text
#404A3A text on black 2.25:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BBC4B6

    oklch(80.9% 0.022 134.1)

  5. Step 400

    400

    #98A690

    oklch(70.8% 0.035 134)

  6. Step 500

    500

    #7F9074

    oklch(63.2% 0.045 133.2)

  7. Step 600

    600

    #687A5D

    oklch(55.7% 0.049 133.8)

  8. Step 700

    700

    #56674C

    oklch(49.2% 0.047 134.1)

  9. Step 800

    800

    #47543F

    oklch(42.8% 0.037 133.7)

  10. Step 900

    900 (this color)

    #404A3A

    oklch(39.5% 0.029 133.8)

  11. Step 950

    950

    #23291F

    oklch(27.2% 0.02 132.9)

Export this scale for Tailwind in the Tailwind colors tool

#404A3A 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)#4B48390.018
Deuteranopia (no green cones)#4A473B0.019
Tritanopia (no blue cones)#4049460.021
Achromatopsia (no color)#4747470.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A3A

    #404A3A

    oklch(39.5% 0.029 133.8)

  • #4C4252

    #4C4252

    oklch(39.5% 0.029 312.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A3A

    #404A3A

    oklch(39.5% 0.029 133.8)

  • #494735

    #494735

    oklch(39.4% 0.029 102.3)

  • #384C42

    #384C42

    oklch(39.6% 0.03 163)

Open the analogous palette in the generator

Split complementary

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

  • #404A3A

    #404A3A

    oklch(39.5% 0.029 133.8)

  • #444456

    #444456

    oklch(39.4% 0.03 284.9)

  • #52404A

    #52404A

    oklch(39.4% 0.029 344.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A3A

    #404A3A

    oklch(39.5% 0.029 133.8)

  • #3C4756

    #3C4756

    oklch(39.4% 0.029 256.2)

  • #554042

    #554042

    oklch(39.5% 0.029 12.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A3A

    #404A3A

    oklch(39.5% 0.029 133.8)

  • #354A52

    #354A52

    oklch(39.5% 0.029 223.4)

  • #4C4252

    #4C4252

    oklch(39.5% 0.029 312.8)

  • #54423A

    #54423A

    oklch(39.6% 0.028 45.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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