#404B52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.6% 0.018 235.9), rgb(64, 75, 82).

Aa

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

About this color

#404B52 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.027 away. White text reads best on it, at 8.95:1.

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

Values

HEX#404B52
RGBrgb(64, 75, 82)
HSLhsl(203, 12%, 29%)
OKLCHoklch(40.6% 0.018 235.9)

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 #404B52 8.95:1 AAA Lc -95.0 Preferred for body text
Black text on #404B52 2.34:1 Fails Lc 13.4 Not readable
#404B52 text on white 8.95:1 AAA Lc 90.5 Preferred for body text
#404B52 text on black 2.34:1 Fails Lc -11.8 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

    #F4F5F6

    oklch(97% 0.002 247.8)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D5DADC

    oklch(88.5% 0.006 223.5)

  4. Step 300

    300

    #BAC2C7

    oklch(80.9% 0.011 234.9)

  5. Step 400

    400

    #97A3AA

    oklch(70.8% 0.017 233.1)

  6. Step 500

    500

    #7D8C95

    oklch(63.1% 0.022 234.1)

  7. Step 600

    600

    #667680

    oklch(55.6% 0.025 235.3)

  8. Step 700

    700

    #55636C

    oklch(49.1% 0.022 236.1)

  9. Step 800

    800 (this color)

    #404B52

    oklch(40.6% 0.018 235.9)

  10. Step 900

    900

    #3B4348

    oklch(37.7% 0.014 235.2)

  11. Step 950

    950

    #22272A

    oklch(26.9% 0.009 234.1)

Export this scale for Tailwind in the Tailwind colors tool

#404B52 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)#484B520.012
Deuteranopia (no green cones)#4548520.012
Tritanopia (no blue cones)#3B4D4D0.014
Achromatopsia (no color)#4949490.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #404B52

    #404B52

    oklch(40.6% 0.018 235.9)

  • #514740

    #514740

    oklch(40.6% 0.018 57.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404B52

    #404B52

    oklch(40.6% 0.018 235.9)

  • #3E4C4E

    #3E4C4E

    oklch(40.5% 0.018 207)

  • #444954

    #444954

    oklch(40.5% 0.02 266.1)

Open the analogous palette in the generator

Split complementary

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

  • #404B52

    #404B52

    oklch(40.6% 0.018 235.9)

  • #534644

    #534644

    oklch(40.7% 0.018 28.2)

  • #4E493E

    #4E493E

    oklch(40.7% 0.019 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404B52

    #404B52

    oklch(40.6% 0.018 235.9)

  • #524549

    #524549

    oklch(40.5% 0.019 357.5)

  • #484B3F

    #484B3F

    oklch(40.6% 0.02 118.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404B52

    #404B52

    oklch(40.6% 0.018 235.9)

  • #4F464F

    #4F464F

    oklch(40.6% 0.019 325.9)

  • #514740

    #514740

    oklch(40.6% 0.018 57.2)

  • #434C43

    #434C43

    oklch(40.5% 0.019 145.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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