#40544A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.03 163.2), rgb(64, 84, 74).

Aa

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

About this color

#40544A is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.031 away. White text reads best on it, at 8.12:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.58:1
White text8.12:1

Values

HEX#40544A
RGBrgb(64, 84, 74)
HSLhsl(150, 14%, 29%)
OKLCHoklch(42.6% 0.03 163.2)

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 #40544A 8.12:1 AAA Lc -92.8 Preferred for body text
Black text on #40544A 2.58:1 Fails Lc 15.9 Dividers and decoration only
#40544A text on white 8.12:1 AAA Lc 88.1 Fine for body text
#40544A text on black 2.58:1 Fails Lc -14.1 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

    #D4DBD7

    oklch(88.5% 0.009 161.3)

  4. Step 300

    300

    #B7C4BD

    oklch(80.8% 0.017 162.6)

  5. Step 400

    400

    #92A69C

    oklch(70.7% 0.027 164.1)

  6. Step 500

    500

    #779183

    oklch(63.2% 0.036 161.7)

  7. Step 600

    600

    #5F7B6D

    oklch(55.7% 0.039 163.2)

  8. Step 700

    700

    #4E675B

    oklch(49% 0.035 164.1)

  9. Step 800

    800 (this color)

    #40544A

    oklch(42.6% 0.03 163.2)

  10. Step 900

    900

    #37463E

    oklch(37.8% 0.024 161.8)

  11. Step 950

    950

    #202924

    oklch(27% 0.016 160.8)

Export this scale for Tailwind in the Tailwind colors tool

#40544A 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)#53514A0.029
Deuteranopia (no green cones)#504F4B0.028
Tritanopia (no blue cones)#3C54510.012
Achromatopsia (no color)#5050500.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #40544A

    #40544A

    oklch(42.6% 0.03 163.2)

  • #5B4853

    #5B4853

    oklch(42.5% 0.031 342.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40544A

    #40544A

    oklch(42.6% 0.03 163.2)

  • #485242

    #485242

    oklch(42.5% 0.029 133.8)

  • #3C5453

    #3C5453

    oklch(42.6% 0.029 192.9)

Open the analogous palette in the generator

Split complementary

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

  • #40544A

    #40544A

    oklch(42.6% 0.03 163.2)

  • #544A5A

    #544A5A

    oklch(42.5% 0.029 312.9)

  • #5E484A

    #5E484A

    oklch(42.6% 0.03 12.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40544A

    #40544A

    oklch(42.6% 0.03 163.2)

  • #4C4D5F

    #4C4D5F

    oklch(42.6% 0.03 282.6)

  • #5D4A42

    #5D4A42

    oklch(42.6% 0.029 44)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40544A

    #40544A

    oklch(42.6% 0.03 163.2)

  • #43505F

    #43505F

    oklch(42.6% 0.03 252.2)

  • #5B4853

    #5B4853

    oklch(42.5% 0.031 342.8)

  • #594C3D

    #594C3D

    oklch(42.5% 0.029 70.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40544A 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.