#404D4F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.017 207.8), rgb(64, 77, 79).

Aa

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

About this color

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

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

Values

HEX#404D4F
RGBrgb(64, 77, 79)
HSLhsl(188, 10%, 28%)
OKLCHoklch(41% 0.017 207.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 #404D4F 8.77:1 AAA Lc -94.5 Preferred for body text
Black text on #404D4F 2.39:1 Fails Lc 13.9 Not readable
#404D4F text on white 8.77:1 AAA Lc 90.1 Preferred for body text
#404D4F 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E8EAEB

    oklch(93.6% 0.003 228.8)

  3. Step 200

    200

    #D5DADB

    oklch(88.5% 0.006 211)

  4. Step 300

    300

    #BAC2C4

    oklch(80.8% 0.009 214.3)

  5. Step 400

    400

    #96A4A6

    oklch(70.8% 0.016 207.1)

  6. Step 500

    500

    #7C8D90

    oklch(63.1% 0.02 209.4)

  7. Step 600

    600

    #65777A

    oklch(55.6% 0.022 208.7)

  8. Step 700

    700

    #546467

    oklch(49.1% 0.02 210.2)

  9. Step 800

    800 (this color)

    #404D4F

    oklch(41% 0.017 207.8)

  10. Step 900

    900

    #3A4445

    oklch(37.8% 0.013 204)

  11. Step 950

    950

    #222829

    oklch(27.1% 0.009 208.7)

Export this scale for Tailwind in the Tailwind colors tool

#404D4F 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)#4B4C4F0.017
Deuteranopia (no green cones)#484A4F0.015
Tritanopia (no blue cones)#3C4E4E0.007
Achromatopsia (no color)#4B4B4B0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #404D4F

    #404D4F

    oklch(41% 0.017 207.8)

  • #534745

    #534745

    oklch(40.9% 0.017 29)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404D4F

    #404D4F

    oklch(41% 0.017 207.8)

  • #414D4A

    #414D4A

    oklch(40.9% 0.016 178.7)

  • #424C52

    #424C52

    oklch(41% 0.016 234.2)

Open the analogous palette in the generator

Split complementary

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

  • #404D4F

    #404D4F

    oklch(41% 0.017 207.8)

  • #52474A

    #52474A

    oklch(41% 0.016 359.5)

  • #524841

    #524841

    oklch(40.9% 0.018 57.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404D4F

    #404D4F

    oklch(41% 0.017 207.8)

  • #50474F

    #50474F

    oklch(41% 0.018 329.4)

  • #4E4A40

    #4E4A40

    oklch(41% 0.017 88.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404D4F

    #404D4F

    oklch(41% 0.017 207.8)

  • #4B4852

    #4B4852

    oklch(40.8% 0.017 299.3)

  • #534745

    #534745

    oklch(40.9% 0.017 29)

  • #494C41

    #494C41

    oklch(41% 0.018 119.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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