#404E54

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.02 225.7), rgb(64, 78, 84).

Aa

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

About this color

#404E54 is a dark close to neutral grey. In OKLCH its lightness is 41%, its chroma 0.020. 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.62:1.

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

Values

HEX#404E54
RGBrgb(64, 78, 84)
HSLhsl(198, 14%, 29%)
OKLCHoklch(41.4% 0.02 225.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 #404E54 8.62:1 AAA Lc -94.1 Preferred for body text
Black text on #404E54 2.43:1 Fails Lc 14.4 Not readable
#404E54 text on white 8.62:1 AAA Lc 89.6 Fine for body text
#404E54 text on black 2.43:1 Fails Lc -12.6 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E7EAEB

    oklch(93.5% 0.004 219.5)

  3. Step 200

    200

    #D5DADC

    oklch(88.5% 0.006 223.5)

  4. Step 300

    300

    #B9C2C6

    oklch(80.8% 0.011 226)

  5. Step 400

    400

    #95A3AA

    oklch(70.7% 0.019 229.1)

  6. Step 500

    500

    #7A8D95

    oklch(63.1% 0.025 225.1)

  7. Step 600

    600

    #63777F

    oklch(55.6% 0.027 224)

  8. Step 700

    700

    #52646B

    oklch(49.1% 0.025 223.4)

  9. Step 800

    800 (this color)

    #404E54

    oklch(41.4% 0.02 225.7)

  10. Step 900

    900

    #394448

    oklch(37.8% 0.016 221.8)

  11. Step 950

    950

    #21282A

    oklch(27.1% 0.011 216.9)

Export this scale for Tailwind in the Tailwind colors tool

#404E54 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)#4B4D540.017
Deuteranopia (no green cones)#484B540.015
Tritanopia (no blue cones)#3A50500.014
Achromatopsia (no color)#4C4C4C0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E54

    #404E54

    oklch(41.4% 0.02 225.7)

  • #554842

    #554842

    oklch(41.3% 0.02 46.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E54

    #404E54

    oklch(41.4% 0.02 225.7)

  • #3F4F4F

    #3F4F4F

    oklch(41.4% 0.02 196.4)

  • #444C57

    #444C57

    oklch(41.4% 0.021 256.4)

Open the analogous palette in the generator

Split complementary

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

  • #404E54

    #404E54

    oklch(41.4% 0.02 225.7)

  • #564748

    #564748

    oklch(41.4% 0.021 13.5)

  • #524A3F

    #524A3F

    oklch(41.4% 0.021 75.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E54

    #404E54

    oklch(41.4% 0.02 225.7)

  • #54474E

    #54474E

    oklch(41.4% 0.021 344.4)

  • #4D4C40

    #4D4C40

    oklch(41.4% 0.019 103.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E54

    #404E54

    oklch(41.4% 0.02 225.7)

  • #504853

    #504853

    oklch(41.4% 0.021 316.9)

  • #554842

    #554842

    oklch(41.3% 0.02 46.3)

  • #474E43

    #474E43

    oklch(41.4% 0.02 134)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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