#40322D

Closest named color: Onyx (#343A40). oklch(33.1% 0.022 40.6), rgb(64, 50, 45).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.71:1
White text12.26:1

Values

HEX#40322D
RGBrgb(64, 50, 45)
HSLhsl(16, 17%, 21%)
OKLCHoklch(33.1% 0.022 40.6)

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 #40322D 12.26:1 AAA Lc -101.4 Preferred for body text
Black text on #40322D 1.71:1 Fails Lc 0.0 Not readable
#40322D text on white 12.26:1 AAA Lc 98.0 Preferred for body text
#40322D text on black 1.71: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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE9E7

    oklch(93.7% 0.005 48.7)

  3. Step 200

    200

    #DFD7D4

    oklch(88.5% 0.01 41.9)

  4. Step 300

    300

    #CBBDB9

    oklch(80.9% 0.017 36.5)

  5. Step 400

    400

    #B09B94

    oklch(70.6% 0.027 39.3)

  6. Step 500

    500

    #9C837A

    oklch(63.1% 0.034 40.8)

  7. Step 600

    600

    #876C63

    oklch(55.5% 0.037 39.3)

  8. Step 700

    700

    #725A52

    oklch(49% 0.034 39.2)

  9. Step 800

    800

    #5D4A43

    oklch(42.7% 0.028 41.2)

  10. Step 900

    900 (this color)

    #40322D

    oklch(33.1% 0.022 40.6)

  11. Step 950

    950

    #2D2421

    oklch(27% 0.015 39.3)

Export this scale for Tailwind in the Tailwind colors tool

#40322D 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)#35332D0.020
Deuteranopia (no green cones)#39362D0.017
Tritanopia (no blue cones)#4430310.013
Achromatopsia (no color)#3535350.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #40322D

    #40322D

    oklch(33.1% 0.022 40.6)

  • #29383E

    #29383E

    oklch(33% 0.022 224.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40322D

    #40322D

    oklch(33.1% 0.022 40.6)

  • #403133

    #403133

    oklch(33.1% 0.022 9.4)

  • #3D3429

    #3D3429

    oklch(33.1% 0.023 72.5)

Open the analogous palette in the generator

Split complementary

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

  • #40322D

    #40322D

    oklch(33.1% 0.022 40.6)

  • #283938

    #283938

    oklch(32.9% 0.022 191.6)

  • #2D3741

    #2D3741

    oklch(33.2% 0.022 248.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40322D

    #40322D

    oklch(33.1% 0.022 40.6)

  • #2C3932

    #2C3932

    oklch(33% 0.021 161.5)

  • #333541

    #333541

    oklch(33.2% 0.021 277.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40322D

    #40322D

    oklch(33.1% 0.022 40.6)

  • #32382C

    #32382C

    oklch(33.1% 0.022 129.2)

  • #29383E

    #29383E

    oklch(33% 0.022 224.4)

  • #39333E

    #39333E

    oklch(33.2% 0.021 309.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40322D 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.