#40372C

Closest named color: Onyx (#343A40). oklch(34.3% 0.022 72.5), rgb(64, 55, 44).

Aa

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

About this color

#40372C is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.036 away. White text reads best on it, at 11.66:1.

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.80:1
White text11.66:1

Values

HEX#40372C
RGBrgb(64, 55, 44)
HSLhsl(33, 19%, 21%)
OKLCHoklch(34.3% 0.022 72.5)

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 #40372C 11.66:1 AAA Lc -100.5 Preferred for body text
Black text on #40372C 1.80:1 Fails Lc 0.0 Not readable
#40372C text on white 11.66:1 AAA Lc 96.8 Preferred for body text
#40372C text on black 1.80:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #ECE9E6

    oklch(93.6% 0.005 67.8)

  3. Step 200

    200

    #DDD8D3

    oklch(88.5% 0.009 67.7)

  4. Step 300

    300

    #C7BFB5

    oklch(80.8% 0.017 73.6)

  5. Step 400

    400

    #AB9E8F

    oklch(70.6% 0.026 71.3)

  6. Step 500

    500

    #978773

    oklch(63.2% 0.035 73.3)

  7. Step 600

    600

    #81705B

    oklch(55.5% 0.038 72.8)

  8. Step 700

    700

    #6D5E4B

    oklch(49.1% 0.035 73.4)

  9. Step 800

    800

    #594D3E

    oklch(42.8% 0.029 73.1)

  10. Step 900

    900 (this color)

    #40372C

    oklch(34.3% 0.022 72.5)

  11. Step 950

    950

    #2B251F

    oklch(26.9% 0.014 67.2)

Export this scale for Tailwind in the Tailwind colors tool

#40372C 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)#3A372B0.011
Deuteranopia (no green cones)#3D392C0.008
Tritanopia (no blue cones)#4335340.018
Achromatopsia (no color)#3838380.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #40372C

    #40372C

    oklch(34.3% 0.022 72.5)

  • #303A44

    #303A44

    oklch(34.3% 0.022 248.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40372C

    #40372C

    oklch(34.3% 0.022 72.5)

  • #433530

    #433530

    oklch(34.3% 0.022 40.6)

  • #3B392C

    #3B392C

    oklch(34.2% 0.022 100.2)

Open the analogous palette in the generator

Split complementary

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

  • #40372C

    #40372C

    oklch(34.3% 0.022 72.5)

  • #2C3B41

    #2C3B41

    oklch(34.2% 0.022 224.3)

  • #373744

    #373744

    oklch(34.2% 0.023 285.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40372C

    #40372C

    oklch(34.3% 0.022 72.5)

  • #2B3D3C

    #2B3D3C

    oklch(34.4% 0.023 191.8)

  • #3D3541

    #3D3541

    oklch(34.2% 0.023 314.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40372C

    #40372C

    oklch(34.3% 0.022 72.5)

  • #2E3C35

    #2E3C35

    oklch(34.1% 0.022 163.3)

  • #303A44

    #303A44

    oklch(34.3% 0.022 248.5)

  • #41343C

    #41343C

    oklch(34.2% 0.023 340.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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