#40352C

Closest named color: Onyx (#343A40). oklch(33.8% 0.022 61.3), rgb(64, 53, 44).

Aa

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

About this color

#40352C 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.90:1.

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

Values

HEX#40352C
RGBrgb(64, 53, 44)
HSLhsl(27, 19%, 21%)
OKLCHoklch(33.8% 0.022 61.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 #40352C 11.90:1 AAA Lc -100.9 Preferred for body text
Black text on #40352C 1.76:1 Fails Lc 0.0 Not readable
#40352C text on white 11.90:1 AAA Lc 97.3 Preferred for body text
#40352C 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

    #DED8D3

    oklch(88.6% 0.009 62.6)

  4. Step 300

    300

    #C9BEB6

    oklch(80.8% 0.017 58.6)

  5. Step 400

    400

    #AD9D90

    oklch(70.6% 0.026 61.5)

  6. Step 500

    500

    #998575

    oklch(63% 0.034 60.8)

  7. Step 600

    600

    #846F5E

    oklch(55.7% 0.037 60.9)

  8. Step 700

    700

    #6F5D4D

    oklch(49.1% 0.034 63.5)

  9. Step 800

    800

    #5B4C3F

    oklch(42.8% 0.029 62.8)

  10. Step 900

    900 (this color)

    #40352C

    oklch(33.8% 0.022 61.3)

  11. Step 950

    950

    #2C2520

    oklch(27.1% 0.014 57.6)

Export this scale for Tailwind in the Tailwind colors tool

#40352C 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)#38362B0.015
Deuteranopia (no green cones)#3B382C0.013
Tritanopia (no blue cones)#4433330.017
Achromatopsia (no color)#3737370.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #40352C

    #40352C

    oklch(33.8% 0.022 61.3)

  • #2D3942

    #2D3942

    oklch(33.7% 0.023 240.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40352C

    #40352C

    oklch(33.8% 0.022 61.3)

  • #423330

    #423330

    oklch(33.7% 0.022 31.3)

  • #3C372B

    #3C372B

    oklch(33.8% 0.021 88.1)

Open the analogous palette in the generator

Split complementary

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

  • #40352C

    #40352C

    oklch(33.8% 0.022 61.3)

  • #2A3B3E

    #2A3B3E

    oklch(33.9% 0.023 209.6)

  • #333743

    #333743

    oklch(33.8% 0.022 270.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40352C

    #40352C

    oklch(33.8% 0.022 61.3)

  • #2B3B38

    #2B3B38

    oklch(33.7% 0.022 182.2)

  • #393541

    #393541

    oklch(33.8% 0.021 300.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40352C

    #40352C

    oklch(33.8% 0.022 61.3)

  • #2F3B32

    #2F3B32

    oklch(33.8% 0.022 152.7)

  • #2D3942

    #2D3942

    oklch(33.7% 0.023 240.7)

  • #3E333D

    #3E333D

    oklch(33.7% 0.023 329)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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