#404C49

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.016 178.7), rgb(64, 76, 73).

Aa

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

About this color

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

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

Values

HEX#404C49
RGBrgb(64, 76, 73)
HSLhsl(165, 9%, 27%)
OKLCHoklch(40.5% 0.016 178.7)

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 #404C49 8.94:1 AAA Lc -94.9 Preferred for body text
Black text on #404C49 2.34:1 Fails Lc 13.4 Not readable
#404C49 text on white 8.94:1 AAA Lc 90.5 Preferred for body text
#404C49 text on black 2.34:1 Fails Lc -11.8 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

    #E8EAEA

    oklch(93.6% 0.002 197.1)

  3. Step 200

    200

    #D6DAD9

    oklch(88.5% 0.005 179.7)

  4. Step 300

    300

    #BAC3C0

    oklch(80.9% 0.011 174.2)

  5. Step 400

    400

    #97A4A1

    oklch(70.7% 0.015 180.5)

  6. Step 500

    500

    #7E8D89

    oklch(63% 0.018 177.9)

  7. Step 600

    600

    #677873

    oklch(55.7% 0.022 175.9)

  8. Step 700

    700

    #556561

    oklch(49.2% 0.02 178.6)

  9. Step 800

    800 (this color)

    #404C49

    oklch(40.5% 0.016 178.7)

  10. Step 900

    900

    #3B4442

    oklch(37.8% 0.012 180.8)

  11. Step 950

    950

    #222826

    oklch(27% 0.009 173.5)

Export this scale for Tailwind in the Tailwind colors tool

#404C49 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)#4B4A490.018
Deuteranopia (no green cones)#4949490.016
Tritanopia (no blue cones)#3D4C4B0.005
Achromatopsia (no color)#4949490.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C49

    #404C49

    oklch(40.5% 0.016 178.7)

  • #514649

    #514649

    oklch(40.6% 0.016 359.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C49

    #404C49

    oklch(40.5% 0.016 178.7)

  • #434C44

    #434C44

    oklch(40.6% 0.018 148.4)

  • #3F4C4E

    #3F4C4E

    oklch(40.6% 0.017 207.8)

Open the analogous palette in the generator

Split complementary

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

  • #404C49

    #404C49

    oklch(40.5% 0.016 178.7)

  • #4E464D

    #4E464D

    oklch(40.5% 0.016 329.9)

  • #514644

    #514644

    oklch(40.5% 0.015 30)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C49

    #404C49

    oklch(40.5% 0.016 178.7)

  • #4A4751

    #4A4751

    oklch(40.5% 0.017 299.3)

  • #504741

    #504741

    oklch(40.5% 0.016 55.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C49

    #404C49

    oklch(40.5% 0.016 178.7)

  • #454952

    #454952

    oklch(40.5% 0.016 266.5)

  • #514649

    #514649

    oklch(40.6% 0.016 359.5)

  • #4C493F

    #4C493F

    oklch(40.5% 0.017 93.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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