#404F4C

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.02 181.8), rgb(64, 79, 76).

Aa

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

About this color

#404F4C 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.022 away. White text reads best on it, at 8.60:1.

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

Values

HEX#404F4C
RGBrgb(64, 79, 76)
HSLhsl(168, 10%, 28%)
OKLCHoklch(41.4% 0.02 181.8)

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 #404F4C 8.60:1 AAA Lc -94.1 Preferred for body text
Black text on #404F4C 2.44:1 Fails Lc 14.4 Not readable
#404F4C text on white 8.60:1 AAA Lc 89.6 Fine for body text
#404F4C text on black 2.44:1 Fails Lc -12.7 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

    #E7EAEA

    oklch(93.5% 0.003 197.1)

  3. Step 200

    200

    #D5DAD9

    oklch(88.4% 0.006 183)

  4. Step 300

    300

    #B9C3C1

    oklch(80.9% 0.011 182.8)

  5. Step 400

    400

    #95A5A1

    oklch(70.8% 0.019 179.1)

  6. Step 500

    500

    #7B8E8A

    oklch(63% 0.023 181.5)

  7. Step 600

    600

    #647874

    oklch(55.5% 0.024 181.9)

  8. Step 700

    700

    #526562

    oklch(49% 0.023 184.8)

  9. Step 800

    800 (this color)

    #404F4C

    oklch(41.4% 0.02 181.8)

  10. Step 900

    900

    #394442

    oklch(37.6% 0.015 183.3)

  11. Step 950

    950

    #212827

    oklch(27% 0.01 186.1)

Export this scale for Tailwind in the Tailwind colors tool

#404F4C 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)#4E4D4C0.022
Deuteranopia (no green cones)#4B4B4C0.020
Tritanopia (no blue cones)#3C504E0.006
Achromatopsia (no color)#4C4C4C0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F4C

    #404F4C

    oklch(41.4% 0.02 181.8)

  • #55474A

    #55474A

    oklch(41.3% 0.02 3.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F4C

    #404F4C

    oklch(41.4% 0.02 181.8)

  • #444F46

    #444F46

    oklch(41.5% 0.02 150.6)

  • #3F4E52

    #3F4E52

    oklch(41.2% 0.02 215.7)

Open the analogous palette in the generator

Split complementary

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

  • #404F4C

    #404F4C

    oklch(41.4% 0.02 181.8)

  • #524850

    #524850

    oklch(41.5% 0.019 332.7)

  • #564845

    #564845

    oklch(41.5% 0.02 32.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F4C

    #404F4C

    oklch(41.4% 0.02 181.8)

  • #4D4954

    #4D4954

    oklch(41.3% 0.019 302.1)

  • #534941

    #534941

    oklch(41.3% 0.019 60.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F4C

    #404F4C

    oklch(41.4% 0.02 181.8)

  • #474B56

    #474B56

    oklch(41.3% 0.019 269.7)

  • #55474A

    #55474A

    oklch(41.3% 0.02 3.5)

  • #4F4B3F

    #4F4B3F

    oklch(41.3% 0.02 91.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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