#405D4E

Closest named color: Dark Green Blue (#1F6357). oklch(45.1% 0.042 161.5), rgb(64, 93, 78).

Aa

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

About this color

#405D4E is a medium-dark, muted green. In OKLCH its lightness is 45%, its chroma 0.042 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green Blue (#1F6357), ΔE 0.032 away. White text reads best on it, at 7.25:1.

Hue familyGreens
Lightnessmedium-dark (45%)
Chromamuted (0.042)
Temperaturein between
Nearest nameDark Green Blue (#1F6357)
Black text2.89:1
White text7.25:1

Values

HEX#405D4E
RGBrgb(64, 93, 78)
HSLhsl(149, 18%, 31%)
OKLCHoklch(45.1% 0.042 161.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 #405D4E 7.25:1 AAA Lc -90.0 Preferred for body text
Black text on #405D4E 2.89:1 Fails Lc 18.9 Dividers and decoration only
#405D4E text on white 7.25:1 AAA Lc 85.2 Fine for body text
#405D4E text on black 2.89:1 Fails Lc -16.8 Dividers and decoration only

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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE8

    oklch(93.5% 0.007 160.1)

  3. Step 200

    200

    #D2DCD6

    oklch(88.5% 0.013 159.9)

  4. Step 300

    300

    #B3C6BC

    oklch(80.9% 0.025 163)

  5. Step 400

    400

    #8BA999

    oklch(70.7% 0.04 161.9)

  6. Step 500

    500

    #6E9380

    oklch(63% 0.05 162.2)

  7. Step 600

    600

    #567E69

    oklch(55.7% 0.056 161)

  8. Step 700

    700

    #466A58

    oklch(49.1% 0.051 162.1)

  9. Step 800

    800 (this color)

    #405D4E

    oklch(45.1% 0.042 161.5)

  10. Step 900

    900

    #32473C

    oklch(37.7% 0.032 161.5)

  11. Step 950

    950

    #1D2A23

    oklch(27% 0.022 160.9)

Export this scale for Tailwind in the Tailwind colors tool

#405D4E 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)#5C594D0.041
Deuteranopia (no green cones)#57554F0.040
Tritanopia (no blue cones)#3A5D590.018
Achromatopsia (no color)#5757570.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #405D4E

    #405D4E

    oklch(45.1% 0.042 161.5)

  • #664C5C

    #664C5C

    oklch(45% 0.042 341.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405D4E

    #405D4E

    oklch(45.1% 0.042 161.5)

  • #4D5B42

    #4D5B42

    oklch(45.2% 0.043 131.7)

  • #385D5B

    #385D5B

    oklch(45% 0.043 191.4)

Open the analogous palette in the generator

Split complementary

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

  • #405D4E

    #405D4E

    oklch(45.1% 0.042 161.5)

  • #5D4F67

    #5D4F67

    oklch(45.1% 0.042 311)

  • #6B4C4F

    #6B4C4F

    oklch(45.1% 0.042 12.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405D4E

    #405D4E

    oklch(45.1% 0.042 161.5)

  • #51536D

    #51536D

    oklch(45.1% 0.042 281.1)

  • #6A4E43

    #6A4E43

    oklch(45.1% 0.042 42.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405D4E

    #405D4E

    oklch(45.1% 0.042 161.5)

  • #44576D

    #44576D

    oklch(45% 0.043 252.4)

  • #664C5C

    #664C5C

    oklch(45% 0.042 341.5)

  • #64523B

    #64523B

    oklch(45.1% 0.042 73.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405D4E 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.