#404F4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.3% 0.02 177.3), rgb(64, 79, 75).

Aa

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

About this color

#404F4B 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.61:1.

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

Values

HEX#404F4B
RGBrgb(64, 79, 75)
HSLhsl(164, 10%, 28%)
OKLCHoklch(41.3% 0.02 177.3)

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

    #E8EAEA

    oklch(93.6% 0.002 197.1)

  3. Step 200

    200

    #D5DAD9

    oklch(88.4% 0.006 183)

  4. Step 300

    300

    #B9C3C0

    oklch(80.9% 0.012 176.2)

  5. Step 400

    400

    #95A5A0

    oklch(70.8% 0.019 175.1)

  6. Step 500

    500

    #7B8E89

    oklch(63% 0.023 177.9)

  7. Step 600

    600

    #647973

    oklch(55.7% 0.026 176.1)

  8. Step 700

    700

    #536560

    oklch(49% 0.023 176.6)

  9. Step 800

    800 (this color)

    #404F4B

    oklch(41.3% 0.02 177.3)

  10. Step 900

    900

    #394441

    oklch(37.6% 0.015 177.2)

  11. Step 950

    950

    #222826

    oklch(27% 0.009 173.5)

Export this scale for Tailwind in the Tailwind colors tool

#404F4B 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)#4E4D4B0.022
Deuteranopia (no green cones)#4B4B4B0.020
Tritanopia (no blue cones)#3C4F4E0.007
Achromatopsia (no color)#4C4C4C0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F4B

    #404F4B

    oklch(41.3% 0.02 177.3)

  • #55474B

    #55474B

    oklch(41.4% 0.02 358.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F4B

    #404F4B

    oklch(41.3% 0.02 177.3)

  • #444E45

    #444E45

    oklch(41.2% 0.02 148.1)

  • #3F4F51

    #3F4F51

    oklch(41.5% 0.02 205.7)

Open the analogous palette in the generator

Split complementary

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

  • #404F4B

    #404F4B

    oklch(41.3% 0.02 177.3)

  • #514851

    #514851

    oklch(41.4% 0.019 325.9)

  • #564745

    #564745

    oklch(41.3% 0.021 26.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F4B

    #404F4B

    oklch(41.3% 0.02 177.3)

  • #4C4955

    #4C4955

    oklch(41.3% 0.02 297)

  • #544941

    #544941

    oklch(41.4% 0.02 58.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F4B

    #404F4B

    oklch(41.3% 0.02 177.3)

  • #464B57

    #464B57

    oklch(41.3% 0.021 267.5)

  • #55474B

    #55474B

    oklch(41.4% 0.02 358.9)

  • #504B3F

    #504B3F

    oklch(41.4% 0.02 88.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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