#404C58

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.1% 0.025 248.4), rgb(64, 76, 88).

Aa

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

About this color

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

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

Values

HEX#404C58
RGBrgb(64, 76, 88)
HSLhsl(210, 16%, 30%)
OKLCHoklch(41.1% 0.025 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 #404C58 8.77:1 AAA Lc -94.5 Preferred for body text
Black text on #404C58 2.39:1 Fails Lc 13.9 Not readable
#404C58 text on white 8.77:1 AAA Lc 90.1 Preferred for body text
#404C58 text on black 2.39:1 Fails Lc -12.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 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

    #D5DADE

    oklch(88.6% 0.008 241.7)

  4. Step 300

    300

    #B9C2CA

    oklch(80.9% 0.015 244.8)

  5. Step 400

    400

    #95A2AF

    oklch(70.6% 0.024 248.2)

  6. Step 500

    500

    #7C8B9B

    oklch(63% 0.03 250)

  7. Step 600

    600

    #657586

    oklch(55.5% 0.033 250)

  8. Step 700

    700

    #536372

    oklch(49.2% 0.031 246.7)

  9. Step 800

    800 (this color)

    #404C58

    oklch(41.1% 0.025 248.4)

  10. Step 900

    900

    #3A434C

    oklch(37.8% 0.019 248.3)

  11. Step 950

    950

    #22272C

    oklch(27% 0.012 248.3)

Export this scale for Tailwind in the Tailwind colors tool

#404C58 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)#474C590.011
Deuteranopia (no green cones)#454A580.009
Tritanopia (no blue cones)#394F500.022
Achromatopsia (no color)#4B4B4B0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C58

    #404C58

    oklch(41.1% 0.025 248.4)

  • #54483C

    #54483C

    oklch(41% 0.025 67)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C58

    #404C58

    oklch(41.1% 0.025 248.4)

  • #3B4E54

    #3B4E54

    oklch(41% 0.026 219.1)

  • #474959

    #474959

    oklch(41% 0.027 279.5)

Open the analogous palette in the generator

Split complementary

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

  • #404C58

    #404C58

    oklch(41.1% 0.025 248.4)

  • #574641

    #574641

    oklch(41% 0.025 37)

  • #4E4B3B

    #4E4B3B

    oklch(41.1% 0.026 98.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C58

    #404C58

    oklch(41.1% 0.025 248.4)

  • #574548

    #574548

    oklch(41% 0.025 7)

  • #464D3F

    #464D3F

    oklch(40.9% 0.024 129.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C58

    #404C58

    oklch(41.1% 0.025 248.4)

  • #54454F

    #54454F

    oklch(40.9% 0.026 338.5)

  • #54483C

    #54483C

    oklch(41% 0.025 67)

  • #3F4F45

    #3F4F45

    oklch(41.1% 0.026 157.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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