#404E4A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.019 176.2), rgb(64, 78, 74).

Aa

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

About this color

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

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

Values

HEX#404E4A
RGBrgb(64, 78, 74)
HSLhsl(163, 10%, 28%)
OKLCHoklch(41% 0.019 176.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 #404E4A 8.72:1 AAA Lc -94.4 Preferred for body text
Black text on #404E4A 2.40:1 Fails Lc 14.1 Not readable
#404E4A text on white 8.72:1 AAA Lc 89.9 Fine for body text
#404E4A text on black 2.40:1 Fails Lc -12.3 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

    #D5DAD9

    oklch(88.4% 0.006 183)

  4. Step 300

    300

    #BAC3C0

    oklch(80.9% 0.011 174.2)

  5. Step 400

    400

    #96A4A0

    oklch(70.6% 0.017 176.9)

  6. Step 500

    500

    #7C8E89

    oklch(63.1% 0.022 177)

  7. Step 600

    600

    #657873

    oklch(55.6% 0.024 177.7)

  8. Step 700

    700

    #536560

    oklch(49% 0.023 176.6)

  9. Step 800

    800 (this color)

    #404E4A

    oklch(41% 0.019 176.2)

  10. Step 900

    900

    #3A4441

    oklch(37.7% 0.014 175.5)

  11. Step 950

    950

    #222826

    oklch(27% 0.009 173.5)

Export this scale for Tailwind in the Tailwind colors tool

#404E4A 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)#4D4C4A0.020
Deuteranopia (no green cones)#4A4A4A0.019
Tritanopia (no blue cones)#3D4E4D0.006
Achromatopsia (no color)#4B4B4B0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E4A

    #404E4A

    oklch(41% 0.019 176.2)

  • #53464B

    #53464B

    oklch(40.9% 0.019 352.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E4A

    #404E4A

    oklch(41% 0.019 176.2)

  • #444D44

    #444D44

    oklch(40.9% 0.019 145.2)

  • #3F4E50

    #3F4E50

    oklch(41.2% 0.019 206.4)

Open the analogous palette in the generator

Split complementary

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

  • #404E4A

    #404E4A

    oklch(41% 0.019 176.2)

  • #504750

    #504750

    oklch(41% 0.019 325.9)

  • #544745

    #544745

    oklch(41.1% 0.018 28.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E4A

    #404E4A

    oklch(41% 0.019 176.2)

  • #4B4954

    #4B4954

    oklch(41.1% 0.018 293.9)

  • #534841

    #534841

    oklch(41.1% 0.019 54.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E4A

    #404E4A

    oklch(41% 0.019 176.2)

  • #464A55

    #464A55

    oklch(41% 0.019 269.7)

  • #53464B

    #53464B

    oklch(40.9% 0.019 352.8)

  • #4F4A3F

    #4F4A3F

    oklch(41.1% 0.019 86.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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