#405442

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.3% 0.039 147.5), rgb(64, 84, 66).

Aa

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

About this color

#405442 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.039 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.037 away. White text reads best on it, at 8.18:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.039)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.56:1
White text8.18:1

Values

HEX#405442
RGBrgb(64, 84, 66)
HSLhsl(126, 14%, 29%)
OKLCHoklch(42.3% 0.039 147.5)

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 #405442 8.18:1 AAA Lc -92.9 Preferred for body text
Black text on #405442 2.56:1 Fails Lc 15.7 Dividers and decoration only
#405442 text on white 8.18:1 AAA Lc 88.3 Fine for body text
#405442 text on black 2.56:1 Fails Lc -13.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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D4DBD4

    oklch(88.4% 0.012 145.5)

  4. Step 300

    300

    #B7C5B8

    oklch(80.9% 0.024 147.4)

  5. Step 400

    400

    #92A794

    oklch(70.7% 0.036 147.9)

  6. Step 500

    500

    #77917A

    oklch(63% 0.045 148.2)

  7. Step 600

    600

    #607C63

    oklch(55.7% 0.05 147.7)

  8. Step 700

    700

    #4F6852

    oklch(49% 0.046 148.1)

  9. Step 800

    800 (this color)

    #405442

    oklch(42.3% 0.039 147.5)

  10. Step 900

    900

    #374639

    oklch(37.7% 0.029 148.7)

  11. Step 950

    950

    #202921

    oklch(26.9% 0.019 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#405442 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)#5550410.033
Deuteranopia (no green cones)#514E430.031
Tritanopia (no blue cones)#3E534F0.022
Achromatopsia (no color)#4F4F4F0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #405442

    #405442

    oklch(42.3% 0.039 147.5)

  • #5A4759

    #5A4759

    oklch(42.4% 0.038 327.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405442

    #405442

    oklch(42.3% 0.039 147.5)

  • #4C5139

    #4C5139

    oklch(42.3% 0.038 117.6)

  • #36554E

    #36554E

    oklch(42.3% 0.039 178.6)

Open the analogous palette in the generator

Split complementary

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

  • #405442

    #405442

    oklch(42.3% 0.039 147.5)

  • #504A61

    #504A61

    oklch(42.4% 0.038 296.7)

  • #60454E

    #60454E

    oklch(42.3% 0.039 357.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405442

    #405442

    oklch(42.3% 0.039 147.5)

  • #454E64

    #454E64

    oklch(42.5% 0.039 267.4)

  • #624642

    #624642

    oklch(42.4% 0.039 28)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405442

    #405442

    oklch(42.3% 0.039 147.5)

  • #3A5161

    #3A5161

    oklch(42.3% 0.039 239.2)

  • #5A4759

    #5A4759

    oklch(42.4% 0.038 327.9)

  • #5E4939

    #5E4939

    oklch(42.3% 0.038 58.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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