#404F55

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.021 224.1), rgb(64, 79, 85).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.46:1
White text8.51:1

Values

HEX#404F55
RGBrgb(64, 79, 85)
HSLhsl(197, 14%, 29%)
OKLCHoklch(41.7% 0.021 224.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 #404F55 8.51:1 AAA Lc -93.8 Preferred for body text
Black text on #404F55 2.46:1 Fails Lc 14.7 Not readable
#404F55 text on white 8.51:1 AAA Lc 89.3 Fine for body text
#404F55 text on black 2.46:1 Fails Lc -12.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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E7EAEC

    oklch(93.5% 0.004 236.5)

  3. Step 200

    200

    #D4DADC

    oklch(88.4% 0.007 219.6)

  4. Step 300

    300

    #B8C2C7

    oklch(80.8% 0.013 229)

  5. Step 400

    400

    #94A4AA

    oklch(70.8% 0.02 222.3)

  6. Step 500

    500

    #798D95

    oklch(63% 0.026 223.9)

  7. Step 600

    600

    #627780

    oklch(55.6% 0.028 225.7)

  8. Step 700

    700

    #51646C

    oklch(49% 0.026 225.3)

  9. Step 800

    800 (this color)

    #404F55

    oklch(41.7% 0.021 224.1)

  10. Step 900

    900

    #384448

    oklch(37.7% 0.017 220)

  11. Step 950

    950

    #21282A

    oklch(27.1% 0.011 216.9)

Export this scale for Tailwind in the Tailwind colors tool

#404F55 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)#4C4E550.018
Deuteranopia (no green cones)#484B550.017
Tritanopia (no blue cones)#3A51510.014
Achromatopsia (no color)#4D4D4D0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F55

    #404F55

    oklch(41.7% 0.021 224.1)

  • #574943

    #574943

    oklch(41.8% 0.021 44.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F55

    #404F55

    oklch(41.7% 0.021 224.1)

  • #3F5050

    #3F5050

    oklch(41.7% 0.021 196.4)

  • #444D58

    #444D58

    oklch(41.6% 0.022 253.5)

Open the analogous palette in the generator

Split complementary

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

  • #404F55

    #404F55

    oklch(41.7% 0.021 224.1)

  • #574849

    #574849

    oklch(41.7% 0.02 13.5)

  • #534B40

    #534B40

    oklch(41.7% 0.021 75.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F55

    #404F55

    oklch(41.7% 0.021 224.1)

  • #55484F

    #55484F

    oklch(41.7% 0.021 344.4)

  • #4E4D40

    #4E4D40

    oklch(41.7% 0.021 103.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F55

    #404F55

    oklch(41.7% 0.021 224.1)

  • #514955

    #514955

    oklch(41.8% 0.022 314.6)

  • #574943

    #574943

    oklch(41.8% 0.021 44.5)

  • #474F43

    #474F43

    oklch(41.7% 0.022 135.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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