#404B41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.022 147.7), rgb(64, 75, 65).

Aa

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

About this color

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

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

Values

HEX#404B41
RGBrgb(64, 75, 65)
HSLhsl(125, 8%, 27%)
OKLCHoklch(40% 0.022 147.7)

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 #404B41 9.12:1 AAA Lc -95.4 Preferred for body text
Black text on #404B41 2.30:1 Fails Lc 12.9 Not readable
#404B41 text on white 9.12:1 AAA Lc 91.0 Preferred for body text
#404B41 text on black 2.30:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE8

    oklch(93.7% 0.005 145.5)

  3. Step 200

    200

    #D5DBD6

    oklch(88.5% 0.009 150.7)

  4. Step 300

    300

    #BAC4BB

    oklch(81% 0.017 148.4)

  5. Step 400

    400

    #96A597

    oklch(70.6% 0.026 147.2)

  6. Step 500

    500

    #7C8F7E

    oklch(63% 0.033 148.1)

  7. Step 600

    600

    #657967

    oklch(55.4% 0.036 147.8)

  8. Step 700

    700

    #546656

    oklch(49% 0.033 148.1)

  9. Step 800

    800

    #455346

    oklch(42.6% 0.028 147)

  10. Step 900

    900 (this color)

    #404B41

    oklch(40% 0.022 147.7)

  11. Step 950

    950

    #222823

    oklch(26.9% 0.013 150.2)

Export this scale for Tailwind in the Tailwind colors tool

#404B41 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)#4B49400.018
Deuteranopia (no green cones)#4948410.016
Tritanopia (no blue cones)#3F4A480.013
Achromatopsia (no color)#4848480.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #404B41

    #404B41

    oklch(40% 0.022 147.7)

  • #4E444E

    #4E444E

    oklch(40% 0.021 326)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404B41

    #404B41

    oklch(40% 0.022 147.7)

  • #46493C

    #46493C

    oklch(39.8% 0.022 117.9)

  • #3B4C47

    #3B4C47

    oklch(40% 0.023 175.2)

Open the analogous palette in the generator

Split complementary

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

  • #404B41

    #404B41

    oklch(40% 0.022 147.7)

  • #494552

    #494552

    oklch(39.9% 0.022 299.4)

  • #524348

    #524348

    oklch(40% 0.022 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404B41

    #404B41

    oklch(40% 0.022 147.7)

  • #424754

    #424754

    oklch(39.8% 0.023 268.7)

  • #534341

    #534341

    oklch(39.9% 0.022 26.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404B41

    #404B41

    oklch(40% 0.022 147.7)

  • #3D4A52

    #3D4A52

    oklch(40.1% 0.021 235.1)

  • #4E444E

    #4E444E

    oklch(40% 0.021 326)

  • #51453C

    #51453C

    oklch(40% 0.022 59)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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