#404A3F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.7% 0.022 142.7), rgb(64, 74, 63).

Aa

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

About this color

#404A3F 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.031 away. White text reads best on it, at 9.25:1.

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

Values

HEX#404A3F
RGBrgb(64, 74, 63)
HSLhsl(115, 8%, 27%)
OKLCHoklch(39.7% 0.022 142.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 #404A3F 9.25:1 AAA Lc -95.7 Preferred for body text
Black text on #404A3F 2.26:1 Fails Lc 12.6 Not readable
#404A3F text on white 9.25:1 AAA Lc 91.4 Preferred for body text
#404A3F text on black 2.26: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE8

    oklch(93.7% 0.005 145.5)

  3. Step 200

    200

    #D6DBD5

    oklch(88.6% 0.01 140.5)

  4. Step 300

    300

    #BBC4BA

    oklch(81% 0.017 142.5)

  5. Step 400

    400

    #97A596

    oklch(70.6% 0.027 143.4)

  6. Step 500

    500

    #7E8F7C

    oklch(63.1% 0.034 142.3)

  7. Step 600

    600

    #677965

    oklch(55.5% 0.037 142.4)

  8. Step 700

    700

    #566654

    oklch(49.1% 0.034 142)

  9. Step 800

    800

    #465345

    oklch(42.6% 0.028 143.2)

  10. Step 900

    900 (this color)

    #404A3F

    oklch(39.7% 0.022 142.7)

  11. Step 950

    950

    #232822

    oklch(27% 0.013 140.5)

Export this scale for Tailwind in the Tailwind colors tool

#404A3F 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)#4B483E0.018
Deuteranopia (no green cones)#4947400.017
Tritanopia (no blue cones)#3F49470.015
Achromatopsia (no color)#4747470.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A3F

    #404A3F

    oklch(39.7% 0.022 142.7)

  • #4D434E

    #4D434E

    oklch(39.7% 0.022 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A3F

    #404A3F

    oklch(39.7% 0.022 142.7)

  • #47483A

    #47483A

    oklch(39.6% 0.023 110.7)

  • #3B4B45

    #3B4B45

    oklch(39.7% 0.023 170.3)

Open the analogous palette in the generator

Split complementary

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

  • #404A3F

    #404A3F

    oklch(39.7% 0.022 142.7)

  • #474552

    #474552

    oklch(39.7% 0.022 292.4)

  • #514248

    #514248

    oklch(39.7% 0.023 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A3F

    #404A3F

    oklch(39.7% 0.022 142.7)

  • #404753

    #404753

    oklch(39.6% 0.022 261.2)

  • #524241

    #524241

    oklch(39.6% 0.022 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A3F

    #404A3F

    oklch(39.7% 0.022 142.7)

  • #3B4951

    #3B4951

    oklch(39.6% 0.022 233.2)

  • #4D434E

    #4D434E

    oklch(39.7% 0.022 323.1)

  • #51443C

    #51443C

    oklch(39.8% 0.022 53.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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