#404A56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.024 253.1), rgb(64, 74, 86).

Aa

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

About this color

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

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

Values

HEX#404A56
RGBrgb(64, 74, 86)
HSLhsl(213, 15%, 29%)
OKLCHoklch(40.5% 0.024 253.1)

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 #404A56 9.00:1 AAA Lc -95.1 Preferred for body text
Black text on #404A56 2.33:1 Fails Lc 13.3 Not readable
#404A56 text on white 9.00:1 AAA Lc 90.7 Preferred for body text
#404A56 text on black 2.33:1 Fails Lc -11.6 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

    #D6D9DE

    oklch(88.4% 0.008 260.7)

  4. Step 300

    300

    #BAC1CA

    oklch(80.8% 0.015 254.6)

  5. Step 400

    400

    #97A2AF

    oklch(70.8% 0.023 252.6)

  6. Step 500

    500

    #7E8B9B

    oklch(63.2% 0.028 253.7)

  7. Step 600

    600

    #677586

    oklch(55.7% 0.031 253.4)

  8. Step 700

    700

    #556271

    oklch(49.1% 0.029 252.1)

  9. Step 800

    800 (this color)

    #404A56

    oklch(40.5% 0.024 253.1)

  10. Step 900

    900

    #3B424C

    oklch(37.7% 0.02 257.3)

  11. Step 950

    950

    #22272C

    oklch(27% 0.012 248.3)

Export this scale for Tailwind in the Tailwind colors tool

#404A56 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)#464A570.010
Deuteranopia (no green cones)#4348560.007
Tritanopia (no blue cones)#3A4D4E0.021
Achromatopsia (no color)#4949490.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A56

    #404A56

    oklch(40.5% 0.024 253.1)

  • #51473B

    #51473B

    oklch(40.4% 0.024 72.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A56

    #404A56

    oklch(40.5% 0.024 253.1)

  • #3B4C53

    #3B4C53

    oklch(40.5% 0.024 224.9)

  • #474856

    #474856

    oklch(40.6% 0.023 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #404A56

    #404A56

    oklch(40.5% 0.024 253.1)

  • #55453F

    #55453F

    oklch(40.5% 0.024 41.6)

  • #4B4A3B

    #4B4A3B

    oklch(40.5% 0.024 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A56

    #404A56

    oklch(40.5% 0.024 253.1)

  • #554445

    #554445

    oklch(40.5% 0.023 14.2)

  • #444C3F

    #444C3F

    oklch(40.5% 0.024 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A56

    #404A56

    oklch(40.5% 0.024 253.1)

  • #53444C

    #53444C

    oklch(40.5% 0.024 344.9)

  • #51473B

    #51473B

    oklch(40.4% 0.024 72.1)

  • #3D4D45

    #3D4D45

    oklch(40.4% 0.024 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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