#40554B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.9% 0.031 164.3), rgb(64, 85, 75).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.031)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.61:1
White text8.01:1

Values

HEX#40554B
RGBrgb(64, 85, 75)
HSLhsl(151, 14%, 29%)
OKLCHoklch(42.9% 0.031 164.3)

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 #40554B 8.01:1 AAA Lc -92.5 Preferred for body text
Black text on #40554B 2.61:1 Fails Lc 16.2 Dividers and decoration only
#40554B text on white 8.01:1 AAA Lc 87.8 Fine for body text
#40554B text on black 2.61:1 Fails Lc -14.4 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

    #B7C4BD

    oklch(80.8% 0.017 162.6)

  5. Step 400

    400

    #91A79C

    oklch(70.8% 0.029 164)

  6. Step 500

    500

    #769184

    oklch(63.2% 0.036 164.5)

  7. Step 600

    600

    #5E7B6D

    oklch(55.6% 0.04 164)

  8. Step 700

    700

    #4D685B

    oklch(49.2% 0.038 163.8)

  9. Step 800

    800 (this color)

    #40554B

    oklch(42.9% 0.031 164.3)

  10. Step 900

    900

    #36463E

    oklch(37.8% 0.025 163.3)

  11. Step 950

    950

    #202924

    oklch(27% 0.016 160.8)

Export this scale for Tailwind in the Tailwind colors tool

#40554B 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)#54524B0.030
Deuteranopia (no green cones)#504F4C0.030
Tritanopia (no blue cones)#3C55520.012
Achromatopsia (no color)#5050500.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #40554B

    #40554B

    oklch(42.9% 0.031 164.3)

  • #5C4953

    #5C4953

    oklch(42.9% 0.03 345.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40554B

    #40554B

    oklch(42.9% 0.031 164.3)

  • #495342

    #495342

    oklch(42.8% 0.03 132.5)

  • #3C5554

    #3C5554

    oklch(42.9% 0.03 193)

Open the analogous palette in the generator

Split complementary

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

  • #40554B

    #40554B

    oklch(42.9% 0.031 164.3)

  • #564B5B

    #564B5B

    oklch(43% 0.029 315.3)

  • #5F494A

    #5F494A

    oklch(42.9% 0.03 15.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40554B

    #40554B

    oklch(42.9% 0.031 164.3)

  • #4D4D60

    #4D4D60

    oklch(42.8% 0.031 285)

  • #5E4A42

    #5E4A42

    oklch(42.8% 0.03 42.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40554B

    #40554B

    oklch(42.9% 0.031 164.3)

  • #445160

    #445160

    oklch(43% 0.03 252.2)

  • #5C4953

    #5C4953

    oklch(42.9% 0.03 345.5)

  • #5A4D3D

    #5A4D3D

    oklch(42.9% 0.031 72.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40554B 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.