#404F54

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.021 220), rgb(64, 79, 84).

Aa

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

About this color

#404F54 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.021. 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.52:1.

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.46:1
White text8.52:1

Values

HEX#404F54
RGBrgb(64, 79, 84)
HSLhsl(195, 14%, 29%)
OKLCHoklch(41.7% 0.021 220)

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 #404F54 8.52:1 AAA Lc -93.9 Preferred for body text
Black text on #404F54 2.46:1 Fails Lc 14.7 Not readable
#404F54 text on white 8.52:1 AAA Lc 89.3 Fine for body text
#404F54 text on black 2.46:1 Fails Lc -12.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 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

    #D4DADC

    oklch(88.4% 0.007 219.6)

  4. Step 300

    300

    #B9C3C6

    oklch(81% 0.012 217.6)

  5. Step 400

    400

    #94A4A9

    oklch(70.8% 0.02 218.5)

  6. Step 500

    500

    #7A8D94

    oklch(63.1% 0.024 222)

  7. Step 600

    600

    #62777E

    oklch(55.5% 0.027 220)

  8. Step 700

    700

    #51646B

    oklch(49% 0.026 222.2)

  9. Step 800

    800 (this color)

    #404F54

    oklch(41.7% 0.021 220)

  10. Step 900

    900

    #384448

    oklch(37.7% 0.017 220)

  11. Step 950

    950

    #21282A

    oklch(27.1% 0.011 216.9)

Export this scale for Tailwind in the Tailwind colors tool

#404F54 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)#4C4E540.018
Deuteranopia (no green cones)#494B540.018
Tritanopia (no blue cones)#3A51500.014
Achromatopsia (no color)#4C4C4C0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F54

    #404F54

    oklch(41.7% 0.021 220)

  • #574944

    #574944

    oklch(41.8% 0.021 40.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F54

    #404F54

    oklch(41.7% 0.021 220)

  • #40504F

    #40504F

    oklch(41.7% 0.02 191.7)

  • #444D57

    #444D57

    oklch(41.6% 0.02 251.1)

Open the analogous palette in the generator

Split complementary

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

  • #404F54

    #404F54

    oklch(41.7% 0.021 220)

  • #574849

    #574849

    oklch(41.7% 0.02 13.5)

  • #544A40

    #544A40

    oklch(41.6% 0.021 67.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F54

    #404F54

    oklch(41.7% 0.021 220)

  • #544850

    #544850

    oklch(41.7% 0.021 338.2)

  • #4F4D40

    #4F4D40

    oklch(41.8% 0.021 100)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F54

    #404F54

    oklch(41.7% 0.021 220)

  • #504955

    #504955

    oklch(41.7% 0.022 311.3)

  • #574944

    #574944

    oklch(41.8% 0.021 40.6)

  • #484F43

    #484F43

    oklch(41.7% 0.021 132.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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