#40564C

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.2% 0.032 165.4), rgb(64, 86, 76).

Aa

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

About this color

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

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

Values

HEX#40564C
RGBrgb(64, 86, 76)
HSLhsl(153, 15%, 29%)
OKLCHoklch(43.2% 0.032 165.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 #40564C 7.91:1 AAA Lc -92.1 Preferred for body text
Black text on #40564C 2.65:1 Fails Lc 16.6 Dividers and decoration only
#40564C text on white 7.91:1 AAA Lc 87.4 Fine for body text
#40564C text on black 2.65:1 Fails Lc -14.7 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE9

    oklch(93.6% 0.005 165)

  3. Step 200

    200

    #D3DBD7

    oklch(88.4% 0.01 164.8)

  4. Step 300

    300

    #B6C5BE

    oklch(81% 0.019 166.3)

  5. Step 400

    400

    #90A79C

    oklch(70.7% 0.03 165.1)

  6. Step 500

    500

    #759184

    oklch(63.1% 0.037 165.3)

  7. Step 600

    600

    #5D7B6D

    oklch(55.5% 0.041 164.7)

  8. Step 700

    700

    #4C685B

    oklch(49.1% 0.039 164.6)

  9. Step 800

    800 (this color)

    #40564C

    oklch(43.2% 0.032 165.4)

  10. Step 900

    900

    #35463E

    oklch(37.7% 0.026 164.7)

  11. Step 950

    950

    #1F2925

    oklch(27% 0.016 168.8)

Export this scale for Tailwind in the Tailwind colors tool

#40564C 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)#55534C0.032
Deuteranopia (no green cones)#51504D0.031
Tritanopia (no blue cones)#3B56530.012
Achromatopsia (no color)#5151510.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #40564C

    #40564C

    oklch(43.2% 0.032 165.4)

  • #5E4954

    #5E4954

    oklch(43.1% 0.033 345.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40564C

    #40564C

    oklch(43.2% 0.032 165.4)

  • #495443

    #495443

    oklch(43.1% 0.031 134.5)

  • #3C5656

    #3C5656

    oklch(43.2% 0.031 196.1)

Open the analogous palette in the generator

Split complementary

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

  • #40564C

    #40564C

    oklch(43.2% 0.032 165.4)

  • #574B5C

    #574B5C

    oklch(43.1% 0.031 316)

  • #61494A

    #61494A

    oklch(43.1% 0.033 15.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40564C

    #40564C

    oklch(43.2% 0.032 165.4)

  • #4E4E61

    #4E4E61

    oklch(43.1% 0.031 285)

  • #604B42

    #604B42

    oklch(43.2% 0.032 44.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40564C

    #40564C

    oklch(43.2% 0.032 165.4)

  • #455162

    #455162

    oklch(43.1% 0.032 257.1)

  • #5E4954

    #5E4954

    oklch(43.1% 0.033 345.8)

  • #5B4E3D

    #5B4E3D

    oklch(43.2% 0.032 74.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40564C 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.