#40544B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.029 165.8), rgb(64, 84, 75).

Aa

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

About this color

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

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

Values

HEX#40544B
RGBrgb(64, 84, 75)
HSLhsl(153, 14%, 29%)
OKLCHoklch(42.6% 0.029 165.8)

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 #40544B 8.11:1 AAA Lc -92.7 Preferred for body text
Black text on #40544B 2.58:1 Fails Lc 15.9 Dividers and decoration only
#40544B text on white 8.11:1 AAA Lc 88.1 Fine for body text
#40544B 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

    #D4DBD8

    oklch(88.5% 0.009 168.7)

  4. Step 300

    300

    #B7C4BE

    oklch(80.9% 0.017 166.6)

  5. Step 400

    400

    #92A69D

    oklch(70.7% 0.026 166.8)

  6. Step 500

    500

    #769085

    oklch(63% 0.034 167.7)

  7. Step 600

    600

    #5F7B6E

    oklch(55.7% 0.038 165)

  8. Step 700

    700

    #4E675C

    oklch(49% 0.035 166.2)

  9. Step 800

    800 (this color)

    #40544B

    oklch(42.6% 0.029 165.8)

  10. Step 900

    900

    #37463F

    oklch(37.9% 0.023 165.2)

  11. Step 950

    950

    #202925

    oklch(27.1% 0.015 166.5)

Export this scale for Tailwind in the Tailwind colors tool

#40544B 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)#53514B0.029
Deuteranopia (no green cones)#4F4F4C0.027
Tritanopia (no blue cones)#3C54510.011
Achromatopsia (no color)#5050500.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #40544B

    #40544B

    oklch(42.6% 0.029 165.8)

  • #5B4952

    #5B4952

    oklch(42.7% 0.028 346.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40544B

    #40544B

    oklch(42.6% 0.029 165.8)

  • #485343

    #485343

    oklch(42.8% 0.029 135.9)

  • #3C5454

    #3C5454

    oklch(42.6% 0.029 196.1)

Open the analogous palette in the generator

Split complementary

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

  • #40544B

    #40544B

    oklch(42.6% 0.029 165.8)

  • #554A5A

    #554A5A

    oklch(42.6% 0.03 315.3)

  • #5E4949

    #5E4949

    oklch(42.7% 0.029 18.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40544B

    #40544B

    oklch(42.6% 0.029 165.8)

  • #4D4D5E

    #4D4D5E

    oklch(42.7% 0.028 285.2)

  • #5D4A42

    #5D4A42

    oklch(42.6% 0.029 44)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40544B

    #40544B

    oklch(42.6% 0.029 165.8)

  • #44505F

    #44505F

    oklch(42.7% 0.029 254.1)

  • #5B4952

    #5B4952

    oklch(42.7% 0.028 346.8)

  • #584D3D

    #584D3D

    oklch(42.6% 0.029 77.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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