#404C5A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.028 252.5), rgb(64, 76, 90).

Aa

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

About this color

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

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

Values

HEX#404C5A
RGBrgb(64, 76, 90)
HSLhsl(212, 17%, 30%)
OKLCHoklch(41.2% 0.028 252.5)

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 #404C5A 8.75:1 AAA Lc -94.5 Preferred for body text
Black text on #404C5A 2.39:1 Fails Lc 14.0 Not readable
#404C5A text on white 8.75:1 AAA Lc 90.0 Fine for body text
#404C5A text on black 2.39:1 Fails Lc -12.3 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

    #E8EAED

    oklch(93.6% 0.005 258.3)

  3. Step 200

    200

    #D5DADF

    oklch(88.6% 0.009 247.9)

  4. Step 300

    300

    #B9C1CB

    oklch(80.8% 0.017 253.9)

  5. Step 400

    400

    #95A2B1

    oklch(70.7% 0.026 252)

  6. Step 500

    500

    #7B8B9E

    oklch(63.1% 0.034 252.8)

  7. Step 600

    600

    #647589

    oklch(55.6% 0.037 252.7)

  8. Step 700

    700

    #536274

    oklch(49% 0.034 253.2)

  9. Step 800

    800 (this color)

    #404C5A

    oklch(41.2% 0.028 252.5)

  10. Step 900

    900

    #39434D

    oklch(37.8% 0.022 248.4)

  11. Step 950

    950

    #22272D

    oklch(27% 0.013 253)

Export this scale for Tailwind in the Tailwind colors tool

#404C5A 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)#474C5B0.011
Deuteranopia (no green cones)#444A5A0.008
Tritanopia (no blue cones)#394F510.023
Achromatopsia (no color)#4B4B4B0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C5A

    #404C5A

    oklch(41.2% 0.028 252.5)

  • #54493A

    #54493A

    oklch(41.2% 0.028 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C5A

    #404C5A

    oklch(41.2% 0.028 252.5)

  • #3A4E56

    #3A4E56

    oklch(41% 0.028 224.4)

  • #48495A

    #48495A

    oklch(41.1% 0.028 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #404C5A

    #404C5A

    oklch(41.2% 0.028 252.5)

  • #59463F

    #59463F

    oklch(41.2% 0.029 41.2)

  • #4D4C3A

    #4D4C3A

    oklch(41.2% 0.029 104.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C5A

    #404C5A

    oklch(41.2% 0.028 252.5)

  • #594547

    #594547

    oklch(41.2% 0.028 11.6)

  • #454E3F

    #454E3F

    oklch(41.1% 0.027 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C5A

    #404C5A

    oklch(41.2% 0.028 252.5)

  • #56454F

    #56454F

    oklch(41.2% 0.028 342.3)

  • #54493A

    #54493A

    oklch(41.2% 0.028 75.4)

  • #3D5046

    #3D5046

    oklch(41.2% 0.029 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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