#404E45

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.9% 0.023 157), rgb(64, 78, 69).

Aa

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

About this color

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

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

Values

HEX#404E45
RGBrgb(64, 78, 69)
HSLhsl(141, 10%, 28%)
OKLCHoklch(40.9% 0.023 157)

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 #404E45 8.77:1 AAA Lc -94.5 Preferred for body text
Black text on #404E45 2.39:1 Fails Lc 13.9 Not readable
#404E45 text on white 8.77:1 AAA Lc 90.0 Preferred for body text
#404E45 text on black 2.39:1 Fails Lc -12.2 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

    #E8EBE9

    oklch(93.7% 0.004 157.2)

  3. Step 200

    200

    #D5DBD7

    oklch(88.6% 0.008 157.1)

  4. Step 300

    300

    #BAC3BD

    oklch(80.8% 0.013 156.9)

  5. Step 400

    400

    #96A59B

    oklch(70.7% 0.022 156.6)

  6. Step 500

    500

    #7C8F83

    oklch(63.1% 0.028 157.8)

  7. Step 600

    600

    #65796C

    oklch(55.6% 0.031 156.8)

  8. Step 700

    700

    #54665A

    oklch(49.1% 0.029 156)

  9. Step 800

    800 (this color)

    #404E45

    oklch(40.9% 0.023 157)

  10. Step 900

    900

    #3A453E

    oklch(37.8% 0.019 157.5)

  11. Step 950

    950

    #222824

    oklch(26.9% 0.011 156.4)

Export this scale for Tailwind in the Tailwind colors tool

#404E45 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)#4E4C450.022
Deuteranopia (no green cones)#4B4A450.020
Tritanopia (no blue cones)#3E4E4B0.010
Achromatopsia (no color)#4B4B4B0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E45

    #404E45

    oklch(40.9% 0.023 157)

  • #53454F

    #53454F

    oklch(40.8% 0.025 336.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E45

    #404E45

    oklch(40.9% 0.023 157)

  • #474D3F

    #474D3F

    oklch(41% 0.024 126.4)

  • #3C4E4C

    #3C4E4C

    oklch(40.8% 0.023 187.9)

Open the analogous palette in the generator

Split complementary

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

  • #404E45

    #404E45

    oklch(40.9% 0.023 157)

  • #4D4754

    #4D4754

    oklch(40.9% 0.023 306.2)

  • #564548

    #564548

    oklch(40.9% 0.024 6.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E45

    #404E45

    oklch(40.9% 0.023 157)

  • #474957

    #474957

    oklch(40.9% 0.024 278.9)

  • #564641

    #564641

    oklch(40.9% 0.024 38.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E45

    #404E45

    oklch(40.9% 0.023 157)

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #53454F

    #53454F

    oklch(40.8% 0.025 336.4)

  • #53483D

    #53483D

    oklch(40.9% 0.023 67.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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