#404B56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.023 248.4), rgb(64, 75, 86).

Aa

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

About this color

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

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

Values

HEX#404B56
RGBrgb(64, 75, 86)
HSLhsl(210, 15%, 29%)
OKLCHoklch(40.7% 0.023 248.4)

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 #404B56 8.90:1 AAA Lc -94.8 Preferred for body text
Black text on #404B56 2.35:1 Fails Lc 13.6 Not readable
#404B56 text on white 8.90:1 AAA Lc 90.4 Preferred for body text
#404B56 text on black 2.35:1 Fails Lc -11.9 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D5DADE

    oklch(88.6% 0.008 241.7)

  4. Step 300

    300

    #BAC2C9

    oklch(81% 0.013 244.3)

  5. Step 400

    400

    #96A2AE

    oklch(70.7% 0.022 248.1)

  6. Step 500

    500

    #7D8B9A

    oklch(63.1% 0.028 250.1)

  7. Step 600

    600

    #667585

    oklch(55.6% 0.031 250.1)

  8. Step 700

    700

    #546270

    oklch(49% 0.028 248.4)

  9. Step 800

    800 (this color)

    #404B56

    oklch(40.7% 0.023 248.4)

  10. Step 900

    900

    #3A434B

    oklch(37.8% 0.018 245.1)

  11. Step 950

    950

    #22272C

    oklch(27% 0.012 248.3)

Export this scale for Tailwind in the Tailwind colors tool

#404B56 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)#474B570.011
Deuteranopia (no green cones)#4449560.008
Tritanopia (no blue cones)#3A4E4E0.021
Achromatopsia (no color)#4A4A4A0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #52483C

    #52483C

    oklch(40.8% 0.024 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #3C4D52

    #3C4D52

    oklch(40.8% 0.023 217.6)

  • #464956

    #464956

    oklch(40.8% 0.022 275.1)

Open the analogous palette in the generator

Split complementary

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

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #554641

    #554641

    oklch(40.8% 0.022 39.3)

  • #4D4A3C

    #4D4A3C

    oklch(40.8% 0.023 97.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #554547

    #554547

    oklch(40.8% 0.022 9.6)

  • #464C3F

    #464C3F

    oklch(40.7% 0.023 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404B56

    #404B56

    oklch(40.7% 0.023 248.4)

  • #53454E

    #53454E

    oklch(40.8% 0.024 339.5)

  • #52483C

    #52483C

    oklch(40.8% 0.024 72.2)

  • #3F4E45

    #3F4E45

    oklch(40.8% 0.024 158.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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