#405F4F

Closest named color: Dark Green Blue (#1F6357). oklch(45.6% 0.045 161.4), rgb(64, 95, 79).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamuted (0.045)
Temperaturein between
Nearest nameDark Green Blue (#1F6357)
Black text2.96:1
White text7.07:1

Values

HEX#405F4F
RGBrgb(64, 95, 79)
HSLhsl(149, 19%, 31%)
OKLCHoklch(45.6% 0.045 161.4)

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 #405F4F 7.07:1 AAA Lc -89.4 Fine for body text
Black text on #405F4F 2.96:1 Fails Lc 19.5 Dividers and decoration only
#405F4F text on white 7.07:1 AAA Lc 84.5 Fine for body text
#405F4F text on black 2.96:1 Fails Lc -17.5 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E6EBE8

    oklch(93.5% 0.007 160.1)

  3. Step 200

    200

    #D1DCD6

    oklch(88.4% 0.014 162.4)

  4. Step 300

    300

    #B2C6BB

    oklch(80.8% 0.027 161.8)

  5. Step 400

    400

    #8AA998

    oklch(70.6% 0.042 161.1)

  6. Step 500

    500

    #6C947F

    oklch(63.1% 0.054 161.4)

  7. Step 600

    600

    #547E68

    oklch(55.5% 0.058 160.9)

  8. Step 700

    700

    #446B57

    oklch(49.2% 0.055 161.1)

  9. Step 800

    800 (this color)

    #405F4F

    oklch(45.6% 0.045 161.4)

  10. Step 900

    900

    #31483C

    oklch(37.9% 0.035 161.4)

  11. Step 950

    950

    #1D2A23

    oklch(27% 0.022 160.9)

Export this scale for Tailwind in the Tailwind colors tool

#405F4F 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)#5E5B4E0.043
Deuteranopia (no green cones)#5957500.042
Tritanopia (no blue cones)#395F5A0.018
Achromatopsia (no color)#5858580.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F4F

    #405F4F

    oklch(45.6% 0.045 161.4)

  • #694D5E

    #694D5E

    oklch(45.6% 0.045 342)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F4F

    #405F4F

    oklch(45.6% 0.045 161.4)

  • #4E5C42

    #4E5C42

    oklch(45.5% 0.044 131)

  • #385F5D

    #385F5D

    oklch(45.6% 0.044 191.5)

Open the analogous palette in the generator

Split complementary

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

  • #405F4F

    #405F4F

    oklch(45.6% 0.045 161.4)

  • #5F506A

    #5F506A

    oklch(45.6% 0.045 310.7)

  • #6E4D50

    #6E4D50

    oklch(45.7% 0.045 13)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F4F

    #405F4F

    oklch(45.6% 0.045 161.4)

  • #525470

    #525470

    oklch(45.5% 0.046 281.2)

  • #6D4F43

    #6D4F43

    oklch(45.6% 0.045 42.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F4F

    #405F4F

    oklch(45.6% 0.045 161.4)

  • #445970

    #445970

    oklch(45.6% 0.046 251.1)

  • #694D5E

    #694D5E

    oklch(45.6% 0.045 342)

  • #67533B

    #67533B

    oklch(45.6% 0.045 71.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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