#40362D

Closest named color: Onyx (#343A40). oklch(34.1% 0.021 64), rgb(64, 54, 45).

Aa

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

About this color

#40362D is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.021. 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.77:1.

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

Values

HEX#40362D
RGBrgb(64, 54, 45)
HSLhsl(28, 17%, 21%)
OKLCHoklch(34.1% 0.021 64)

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 #40362D 11.77:1 AAA Lc -100.6 Preferred for body text
Black text on #40362D 1.78:1 Fails Lc 0.0 Not readable
#40362D text on white 11.77:1 AAA Lc 97.0 Preferred for body text
#40362D text on black 1.78: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

    #DDD8D3

    oklch(88.5% 0.009 67.7)

  4. Step 300

    300

    #C8BFB6

    oklch(80.9% 0.016 67.6)

  5. Step 400

    400

    #AC9E91

    oklch(70.8% 0.025 65.3)

  6. Step 500

    500

    #988676

    oklch(63.2% 0.032 63.8)

  7. Step 600

    600

    #826F5E

    oklch(55.5% 0.035 63.8)

  8. Step 700

    700

    #6E5D4E

    oklch(49.1% 0.032 63.4)

  9. Step 800

    800

    #5A4C40

    oklch(42.7% 0.027 62.6)

  10. Step 900

    900 (this color)

    #40362D

    oklch(34.1% 0.021 64)

  11. Step 950

    950

    #2B2520

    oklch(26.9% 0.013 62.1)

Export this scale for Tailwind in the Tailwind colors tool

#40362D 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)#39362C0.013
Deuteranopia (no green cones)#3C392D0.012
Tritanopia (no blue cones)#4334340.017
Achromatopsia (no color)#3838380.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #40362D

    #40362D

    oklch(34.1% 0.021 64)

  • #2F3A42

    #2F3A42

    oklch(34.2% 0.02 239.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40362D

    #40362D

    oklch(34.1% 0.021 64)

  • #423431

    #423431

    oklch(33.9% 0.021 32.2)

  • #3C382C

    #3C382C

    oklch(34.1% 0.021 91.8)

Open the analogous palette in the generator

Split complementary

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

  • #40362D

    #40362D

    oklch(34.1% 0.021 64)

  • #2C3B3F

    #2C3B3F

    oklch(34.1% 0.021 215.9)

  • #353843

    #353843

    oklch(34.2% 0.02 273.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40362D

    #40362D

    oklch(34.1% 0.021 64)

  • #2C3C39

    #2C3C39

    oklch(34.1% 0.021 182.2)

  • #3A3641

    #3A3641

    oklch(34.1% 0.02 301.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40362D

    #40362D

    oklch(34.1% 0.021 64)

  • #303B33

    #303B33

    oklch(33.9% 0.02 153.7)

  • #2F3A42

    #2F3A42

    oklch(34.2% 0.02 239.8)

  • #3F343D

    #3F343D

    oklch(34% 0.022 332.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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