#40352E

Closest named color: Onyx (#343A40). oklch(33.9% 0.02 54.4), rgb(64, 53, 46).

Aa

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

About this color

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

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

Values

HEX#40352E
RGBrgb(64, 53, 46)
HSLhsl(23, 16%, 22%)
OKLCHoklch(33.9% 0.02 54.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 #40352E 11.88:1 AAA Lc -100.8 Preferred for body text
Black text on #40352E 1.76:1 Fails Lc 0.0 Not readable
#40352E text on white 11.88:1 AAA Lc 97.3 Preferred for body text
#40352E text on black 1.76: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

    #ECE9E7

    oklch(93.6% 0.004 56.4)

  3. Step 200

    200

    #DED8D4

    oklch(88.6% 0.009 56.3)

  4. Step 300

    300

    #C9BEB8

    oklch(80.9% 0.015 50.8)

  5. Step 400

    400

    #AD9D93

    oklch(70.7% 0.024 54.2)

  6. Step 500

    500

    #998578

    oklch(63.1% 0.031 55.1)

  7. Step 600

    600

    #836F61

    oklch(55.7% 0.033 57)

  8. Step 700

    700

    #6F5C50

    oklch(49% 0.031 54.1)

  9. Step 800

    800

    #5A4C42

    oklch(42.8% 0.025 57.5)

  10. Step 900

    900 (this color)

    #40352E

    oklch(33.9% 0.02 54.4)

  11. Step 950

    950

    #2C2521

    oklch(27.1% 0.013 51.6)

Export this scale for Tailwind in the Tailwind colors tool

#40352E 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)#38362E0.015
Deuteranopia (no green cones)#3B382E0.013
Tritanopia (no blue cones)#4333330.014
Achromatopsia (no color)#3737370.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #40352E

    #40352E

    oklch(33.9% 0.02 54.4)

  • #2E3940

    #2E3940

    oklch(33.7% 0.019 236.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40352E

    #40352E

    oklch(33.9% 0.02 54.4)

  • #413432

    #413432

    oklch(33.9% 0.019 28.3)

  • #3C372C

    #3C372C

    oklch(33.8% 0.02 86.4)

Open the analogous palette in the generator

Split complementary

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

  • #40352E

    #40352E

    oklch(33.9% 0.02 54.4)

  • #2C3B3C

    #2C3B3C

    oklch(33.9% 0.02 201.3)

  • #323842

    #323842

    oklch(33.9% 0.019 260.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40352E

    #40352E

    oklch(33.9% 0.02 54.4)

  • #2D3B37

    #2D3B37

    oklch(33.8% 0.02 175.8)

  • #383641

    #383641

    oklch(33.9% 0.019 293.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40352E

    #40352E

    oklch(33.9% 0.02 54.4)

  • #313A31

    #313A31

    oklch(33.7% 0.02 145.1)

  • #2E3940

    #2E3940

    oklch(33.7% 0.019 236.1)

  • #3D343D

    #3D343D

    oklch(33.8% 0.02 326)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40352E 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.