#404855

Closest named color: Dark Grey Blue (#29465B). oklch(40% 0.024 260.1), rgb(64, 72, 85).

Aa

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

About this color

#404855 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 Grey Blue (#29465B), ΔE 0.034 away. White text reads best on it, at 9.22:1.

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Grey Blue (#29465B)
Black text2.27:1
White text9.22:1

Values

HEX#404855
RGBrgb(64, 72, 85)
HSLhsl(217, 14%, 29%)
OKLCHoklch(40% 0.024 260.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 #404855 9.22:1 AAA Lc -95.6 Preferred for body text
Black text on #404855 2.27:1 Fails Lc 12.7 Not readable
#404855 text on white 9.22:1 AAA Lc 91.3 Preferred for body text
#404855 text on black 2.27:1 Fails Lc -11.1 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 900.

  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

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #BAC1CD

    oklch(80.9% 0.019 261.3)

  5. Step 400

    400

    #96A1B3

    oklch(70.6% 0.029 260.3)

  6. Step 500

    500

    #7D8AA1

    oklch(63.1% 0.038 261.9)

  7. Step 600

    600

    #66748C

    oklch(55.6% 0.041 261.2)

  8. Step 700

    700

    #546177

    oklch(49% 0.039 260.9)

  9. Step 800

    800

    #455060

    oklch(42.8% 0.03 257.7)

  10. Step 900

    900 (this color)

    #404855

    oklch(40% 0.024 260.1)

  11. Step 950

    950

    #22272E

    oklch(27.1% 0.015 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#404855 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)#4449560.007
Deuteranopia (no green cones)#4247550.004
Tritanopia (no blue cones)#3B4B4C0.022
Achromatopsia (no color)#4747470.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #404855

    #404855

    oklch(40% 0.024 260.1)

  • #4F4639

    #4F4639

    oklch(39.9% 0.024 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404855

    #404855

    oklch(40% 0.024 260.1)

  • #3A4A52

    #3A4A52

    oklch(39.8% 0.024 229.7)

  • #474654

    #474654

    oklch(40.1% 0.023 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #404855

    #404855

    oklch(40% 0.024 260.1)

  • #53443C

    #53443C

    oklch(40% 0.025 49.7)

  • #48493A

    #48493A

    oklch(40% 0.024 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404855

    #404855

    oklch(40% 0.024 260.1)

  • #544342

    #544342

    oklch(40% 0.024 22.1)

  • #414B3F

    #414B3F

    oklch(40% 0.024 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404855

    #404855

    oklch(40% 0.024 260.1)

  • #524249

    #524249

    oklch(39.8% 0.025 350.1)

  • #4F4639

    #4F4639

    oklch(39.9% 0.024 77)

  • #3B4C46

    #3B4C46

    oklch(40% 0.024 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404855 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.