#405F52

Closest named color: Dark Green Blue (#1F6357). oklch(45.7% 0.042 166.5), rgb(64, 95, 82).

Aa

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

About this color

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

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

Values

HEX#405F52
RGBrgb(64, 95, 82)
HSLhsl(155, 19%, 31%)
OKLCHoklch(45.7% 0.042 166.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 #405F52 7.05:1 AAA Lc -89.3 Fine for body text
Black text on #405F52 2.97:1 Fails Lc 19.6 Dividers and decoration only
#405F52 text on white 7.05:1 AAA Lc 84.4 Fine for body text
#405F52 text on black 2.97:1 Fails Lc -17.6 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

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D1DCD7

    oklch(88.5% 0.014 167.1)

  4. Step 300

    300

    #B2C6BD

    oklch(80.9% 0.025 166.9)

  5. Step 400

    400

    #8AA99B

    oklch(70.7% 0.04 166.1)

  6. Step 500

    500

    #6C9483

    oklch(63.2% 0.051 166.7)

  7. Step 600

    600

    #537E6C

    oklch(55.6% 0.056 166.3)

  8. Step 700

    700

    #436A5A

    oklch(49% 0.051 166.6)

  9. Step 800

    800 (this color)

    #405F52

    oklch(45.7% 0.042 166.5)

  10. Step 900

    900

    #30473E

    oklch(37.6% 0.033 168.3)

  11. Step 950

    950

    #1D2A24

    oklch(27.1% 0.021 164.8)

Export this scale for Tailwind in the Tailwind colors tool

#405F52 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)#5E5B510.043
Deuteranopia (no green cones)#5857530.041
Tritanopia (no blue cones)#395F5B0.016
Achromatopsia (no color)#5959590.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F52

    #405F52

    oklch(45.7% 0.042 166.5)

  • #694E5C

    #694E5C

    oklch(45.7% 0.042 346.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F52

    #405F52

    oklch(45.7% 0.042 166.5)

  • #4C5D45

    #4C5D45

    oklch(45.7% 0.043 136.7)

  • #3A5F5F

    #3A5F5F

    oklch(45.8% 0.042 195.8)

Open the analogous palette in the generator

Split complementary

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

  • #405F52

    #405F52

    oklch(45.7% 0.042 166.5)

  • #615067

    #615067

    oklch(45.7% 0.042 317.2)

  • #6D4E4F

    #6D4E4F

    oklch(45.8% 0.042 16.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F52

    #405F52

    oklch(45.7% 0.042 166.5)

  • #55546E

    #55546E

    oklch(45.7% 0.042 286.4)

  • #6C5043

    #6C5043

    oklch(45.7% 0.043 46)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F52

    #405F52

    oklch(45.7% 0.042 166.5)

  • #48586F

    #48586F

    oklch(45.6% 0.043 257.4)

  • #694E5C

    #694E5C

    oklch(45.7% 0.042 346.4)

  • #65543C

    #65543C

    oklch(45.6% 0.043 75.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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