#404E4F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.018 201.8), rgb(64, 78, 79).

Aa

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

About this color

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

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

Values

HEX#404E4F
RGBrgb(64, 78, 79)
HSLhsl(184, 10%, 28%)
OKLCHoklch(41.2% 0.018 201.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 #404E4F 8.67:1 AAA Lc -94.3 Preferred for body text
Black text on #404E4F 2.42:1 Fails Lc 14.2 Not readable
#404E4F text on white 8.67:1 AAA Lc 89.8 Fine for body text
#404E4F text on black 2.42:1 Fails Lc -12.5 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

    #B9C3C3

    oklch(80.9% 0.011 196.9)

  5. Step 400

    400

    #95A4A5

    oklch(70.7% 0.017 201.6)

  6. Step 500

    500

    #7B8E8F

    oklch(63.2% 0.022 200.5)

  7. Step 600

    600

    #647879

    oklch(55.7% 0.024 200.2)

  8. Step 700

    700

    #536566

    oklch(49.2% 0.022 200.6)

  9. Step 800

    800 (this color)

    #404E4F

    oklch(41.2% 0.018 201.8)

  10. Step 900

    900

    #394445

    oklch(37.7% 0.014 203.3)

  11. Step 950

    950

    #222828

    oklch(27.1% 0.009 196.7)

Export this scale for Tailwind in the Tailwind colors tool

#404E4F 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)#4C4D4F0.018
Deuteranopia (no green cones)#494A4F0.018
Tritanopia (no blue cones)#3C4F4E0.007
Achromatopsia (no color)#4B4B4B0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E4F

    #404E4F

    oklch(41.2% 0.018 201.8)

  • #544747

    #544747

    oklch(41.1% 0.018 17.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E4F

    #404E4F

    oklch(41.2% 0.018 201.8)

  • #424E4A

    #424E4A

    oklch(41.2% 0.017 173.4)

  • #424D53

    #424D53

    oklch(41.3% 0.017 231.6)

Open the analogous palette in the generator

Split complementary

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

  • #404E4F

    #404E4F

    oklch(41.2% 0.018 201.8)

  • #53474C

    #53474C

    oklch(41.2% 0.018 350.9)

  • #534842

    #534842

    oklch(41.1% 0.018 50.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E4F

    #404E4F

    oklch(41.2% 0.018 201.8)

  • #504851

    #504851

    oklch(41.3% 0.018 322.4)

  • #504A40

    #504A40

    oklch(41.2% 0.018 80.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E4F

    #404E4F

    oklch(41.2% 0.018 201.8)

  • #4B4954

    #4B4954

    oklch(41.1% 0.018 293.9)

  • #544747

    #544747

    oklch(41.1% 0.018 17.9)

  • #4B4C41

    #4B4C41

    oklch(41.2% 0.018 111.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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