#404950

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.017 241.3), rgb(64, 73, 80).

Aa

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

About this color

#404950 is a dark close to neutral grey. In OKLCH its lightness is 40%, 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.029 away. White text reads best on it, at 9.18:1.

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.28:1
White text9.18:1

Values

HEX#404950
RGBrgb(64, 73, 80)
HSLhsl(206, 11%, 28%)
OKLCHoklch(40% 0.017 241.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 #404950 9.18:1 AAA Lc -95.5 Preferred for body text
Black text on #404950 2.28:1 Fails Lc 12.8 Not readable
#404950 text on white 9.18:1 AAA Lc 91.2 Preferred for body text
#404950 text on black 2.28:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F4F5F6

    oklch(97% 0.002 247.8)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D5DADD

    oklch(88.5% 0.007 233.7)

  4. Step 300

    300

    #BAC2C8

    oklch(81% 0.012 239.9)

  5. Step 400

    400

    #96A2AC

    oklch(70.6% 0.02 243.1)

  6. Step 500

    500

    #7C8C98

    oklch(63.1% 0.026 240.3)

  7. Step 600

    600

    #657682

    oklch(55.6% 0.028 238.8)

  8. Step 700

    700

    #54636E

    oklch(49.1% 0.025 239.9)

  9. Step 800

    800

    #45515A

    oklch(42.8% 0.021 240.5)

  10. Step 900

    900 (this color)

    #404950

    oklch(40% 0.017 241.3)

  11. Step 950

    950

    #22272B

    oklch(26.9% 0.01 242.1)

Export this scale for Tailwind in the Tailwind colors tool

#404950 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)#4649500.009
Deuteranopia (no green cones)#4447500.008
Tritanopia (no blue cones)#3C4B4B0.014
Achromatopsia (no color)#4848480.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #404950

    #404950

    oklch(40% 0.017 241.3)

  • #4F463F

    #4F463F

    oklch(40.1% 0.017 60.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404950

    #404950

    oklch(40% 0.017 241.3)

  • #3E4A4D

    #3E4A4D

    oklch(40% 0.016 214.5)

  • #444751

    #444751

    oklch(39.9% 0.017 272.3)

Open the analogous palette in the generator

Split complementary

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

  • #404950

    #404950

    oklch(40% 0.017 241.3)

  • #504542

    #504542

    oklch(40.1% 0.016 35.7)

  • #4B483E

    #4B483E

    oklch(40.1% 0.017 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404950

    #404950

    oklch(40% 0.017 241.3)

  • #504447

    #504447

    oklch(40% 0.017 1)

  • #46493F

    #46493F

    oklch(39.9% 0.017 120.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404950

    #404950

    oklch(40% 0.017 241.3)

  • #4D454C

    #4D454C

    oklch(40.1% 0.016 329.9)

  • #4F463F

    #4F463F

    oklch(40.1% 0.017 60.2)

  • #414A43

    #414A43

    oklch(39.9% 0.016 152.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404950 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.