#404A3B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.5% 0.028 135.2), rgb(64, 74, 59).

Aa

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

About this color

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

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

Values

HEX#404A3B
RGBrgb(64, 74, 59)
HSLhsl(100, 11%, 26%)
OKLCHoklch(39.5% 0.028 135.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 #404A3B 9.28:1 AAA Lc -95.8 Preferred for body text
Black text on #404A3B 2.26:1 Fails Lc 12.5 Not readable
#404A3B text on white 9.28:1 AAA Lc 91.5 Preferred for body text
#404A3B text on black 2.26: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

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  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

    #98A691

    oklch(70.8% 0.034 135.1)

  6. Step 500

    500

    #7E9076

    oklch(63.2% 0.043 136)

  7. Step 600

    600

    #687A5E

    oklch(55.7% 0.047 134.5)

  8. Step 700

    700

    #56664E

    oklch(49% 0.042 135.3)

  9. Step 800

    800

    #475440

    oklch(42.8% 0.036 134.7)

  10. Step 900

    900 (this color)

    #404A3B

    oklch(39.5% 0.028 135.2)

  11. Step 950

    950

    #232820

    oklch(26.9% 0.016 133.7)

Export this scale for Tailwind in the Tailwind colors tool

#404A3B 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)#4B483A0.018
Deuteranopia (no green cones)#4A473C0.019
Tritanopia (no blue cones)#4049460.020
Achromatopsia (no color)#4747470.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A3B

    #404A3B

    oklch(39.5% 0.028 135.2)

  • #4C4251

    #4C4251

    oklch(39.5% 0.028 314.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A3B

    #404A3B

    oklch(39.5% 0.028 135.2)

  • #484736

    #484736

    oklch(39.4% 0.027 104.8)

  • #394B43

    #394B43

    oklch(39.5% 0.026 166.1)

Open the analogous palette in the generator

Split complementary

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

  • #404A3B

    #404A3B

    oklch(39.5% 0.028 135.2)

  • #454555

    #454555

    oklch(39.7% 0.027 285.1)

  • #52414A

    #52414A

    oklch(39.6% 0.027 345.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A3B

    #404A3B

    oklch(39.5% 0.028 135.2)

  • #3D4756

    #3D4756

    oklch(39.5% 0.029 258.4)

  • #544141

    #544141

    oklch(39.6% 0.026 18.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A3B

    #404A3B

    oklch(39.5% 0.028 135.2)

  • #364A52

    #364A52

    oklch(39.6% 0.028 224.5)

  • #4C4251

    #4C4251

    oklch(39.5% 0.028 314.5)

  • #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 #404A3B, closest first.

Similar named colors

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

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