#405745

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.2% 0.041 151), rgb(64, 87, 69).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.041)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.66:1
White text7.87:1

Values

HEX#405745
RGBrgb(64, 87, 69)
HSLhsl(133, 15%, 30%)
OKLCHoklch(43.2% 0.041 151)

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 #405745 7.87:1 AAA Lc -92.0 Preferred for body text
Black text on #405745 2.66:1 Fails Lc 16.7 Dividers and decoration only
#405745 text on white 7.87:1 AAA Lc 87.3 Fine for body text
#405745 text on black 2.66:1 Fails Lc -14.8 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

    #D3DCD5

    oklch(88.6% 0.014 152.6)

  4. Step 300

    300

    #B6C5B9

    oklch(80.8% 0.023 151.6)

  5. Step 400

    400

    #90A895

    oklch(70.8% 0.038 151.4)

  6. Step 500

    500

    #74927B

    oklch(63% 0.048 151.9)

  7. Step 600

    600

    #5D7C64

    oklch(55.5% 0.051 151.4)

  8. Step 700

    700

    #4C6952

    oklch(49.1% 0.05 150.6)

  9. Step 800

    800 (this color)

    #405745

    oklch(43.2% 0.041 151)

  10. Step 900

    900

    #354739

    oklch(37.8% 0.033 151.3)

  11. Step 950

    950

    #1F2921

    oklch(26.9% 0.02 150.8)

Export this scale for Tailwind in the Tailwind colors tool

#405745 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)#5753440.035
Deuteranopia (no green cones)#5351460.033
Tritanopia (no blue cones)#3D56520.022
Achromatopsia (no color)#5252520.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #405745

    #405745

    oklch(43.2% 0.041 151)

  • #5E485B

    #5E485B

    oklch(43.2% 0.042 330.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405745

    #405745

    oklch(43.2% 0.041 151)

  • #4D543B

    #4D543B

    oklch(43.2% 0.04 120.8)

  • #365852

    #365852

    oklch(43.2% 0.041 181.9)

Open the analogous palette in the generator

Split complementary

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

  • #405745

    #405745

    oklch(43.2% 0.041 151)

  • #544B64

    #544B64

    oklch(43.2% 0.042 301.1)

  • #64474F

    #64474F

    oklch(43.2% 0.041 0.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405745

    #405745

    oklch(43.2% 0.041 151)

  • #484F67

    #484F67

    oklch(43.1% 0.041 272)

  • #654843

    #654843

    oklch(43.2% 0.041 29.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405745

    #405745

    oklch(43.2% 0.041 151)

  • #3C5465

    #3C5465

    oklch(43.3% 0.041 239.7)

  • #5E485B

    #5E485B

    oklch(43.2% 0.042 330.9)

  • #614B39

    #614B39

    oklch(43.1% 0.041 60.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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