#404A41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.7% 0.02 148), rgb(64, 74, 65).

Aa

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

About this color

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

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

Values

HEX#404A41
RGBrgb(64, 74, 65)
HSLhsl(126, 7%, 27%)
OKLCHoklch(39.7% 0.02 148)

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 #404A41 9.23:1 AAA Lc -95.6 Preferred for body text
Black text on #404A41 2.27:1 Fails Lc 12.6 Not readable
#404A41 text on white 9.23:1 AAA Lc 91.3 Preferred for body text
#404A41 text on black 2.27:1 Fails Lc -11.0 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E8EBE8

    oklch(93.7% 0.005 145.5)

  3. Step 200

    200

    #D6DBD6

    oklch(88.6% 0.009 145.5)

  4. Step 300

    300

    #BAC3BB

    oklch(80.8% 0.015 148.7)

  5. Step 400

    400

    #97A598

    oklch(70.7% 0.024 147.3)

  6. Step 500

    500

    #7E8F7F

    oklch(63.2% 0.031 146.8)

  7. Step 600

    600

    #677969

    oklch(55.7% 0.032 148.3)

  8. Step 700

    700

    #556657

    oklch(49.1% 0.031 148.4)

  9. Step 800

    800

    #465347

    oklch(42.7% 0.026 147.2)

  10. Step 900

    900 (this color)

    #404A41

    oklch(39.7% 0.02 148)

  11. Step 950

    950

    #222823

    oklch(26.9% 0.013 150.2)

Export this scale for Tailwind in the Tailwind colors tool

#404A41 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)#4A48410.017
Deuteranopia (no green cones)#4947410.016
Tritanopia (no blue cones)#3F49470.012
Achromatopsia (no color)#4747470.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A41

    #404A41

    oklch(39.7% 0.02 148)

  • #4D434C

    #4D434C

    oklch(39.6% 0.02 329.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A41

    #404A41

    oklch(39.7% 0.02 148)

  • #46493D

    #46493D

    oklch(39.9% 0.02 118.7)

  • #3C4B47

    #3C4B47

    oklch(39.8% 0.02 177.2)

Open the analogous palette in the generator

Split complementary

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

  • #404A41

    #404A41

    oklch(39.7% 0.02 148)

  • #484550

    #484550

    oklch(39.7% 0.019 298)

  • #504347

    #504347

    oklch(39.8% 0.019 357.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A41

    #404A41

    oklch(39.7% 0.02 148)

  • #424752

    #424752

    oklch(39.8% 0.02 266.1)

  • #514341

    #514341

    oklch(39.7% 0.02 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A41

    #404A41

    oklch(39.7% 0.02 148)

  • #3D4950

    #3D4950

    oklch(39.7% 0.019 233.6)

  • #4D434C

    #4D434C

    oklch(39.6% 0.02 329.1)

  • #4F453D

    #4F453D

    oklch(39.8% 0.019 60.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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