#40392B
Closest named color: Charcoal Grey (#3C4142). oklch(34.8% 0.025 84.5), rgb(64, 57, 43).
Aa
White text reads best on this color (11.42:1).
About this color
#40392B is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.038 away. White text reads best on it, at 11.42:1.
| Hue family | Neutrals |
| Lightness | dark (35%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 1.83:1 |
| White text | 11.42:1 |
Values
| HEX | #40392B |
| RGB | rgb(64, 57, 43) |
| HSL | hsl(40, 20%, 21%) |
| OKLCH | oklch(34.8% 0.025 84.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40392B | 11.42:1 | AAA | Lc -100.1 | Preferred for body text |
| Black text on #40392B | 1.83:1 | Fails | Lc 7.5 | Not readable |
| #40392B text on white | 11.42:1 | AAA | Lc 96.3 | Preferred for body text |
| #40392B text on black | 1.83: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.
-
Step 50
50
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE6
oklch(93.7% 0.005 95.1)
-
Step 200
200
#DCD9D1
oklch(88.5% 0.011 89.7)
-
Step 300
300
#C6C0B3
oklch(80.9% 0.019 86.2)
-
Step 400
400
#A99F8C
oklch(70.6% 0.029 83.5)
-
Step 500
500
#94886F
oklch(63.1% 0.039 85.4)
-
Step 600
600
#7F7257
oklch(55.7% 0.043 85.2)
-
Step 700
700
#6B5F47
oklch(49% 0.039 84.4)
-
Step 800
800
#574E3B
oklch(42.7% 0.032 85.6)
-
Step 900
900 (this color)
#40392B
oklch(34.8% 0.025 84.5)
-
Step 950
950
#2A261E
oklch(27% 0.015 84.5)
#40392B 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3D392A | 0.006 |
| Deuteranopia (no green cones) | #3E3B2B | 0.007 |
| Tritanopia (no blue cones) | #433735 | 0.021 |
| Achromatopsia (no color) | #3A3A3A | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40392B
#40392B
oklch(34.8% 0.025 84.5)
- #333A47
#333A47
oklch(34.7% 0.025 262.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #40392B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.038
- Onyx #343A40 ΔE 0.038
- Pakistan Green #283618 ΔE 0.053
- Dark Olive #373E02 ΔE 0.058
- Gunmetal #293241 ΔE 0.064
- Dark Blue Grey #1F3B4D ΔE 0.071
- Charcoal #264653 ΔE 0.071
- Space Cadet #2B2D42 ΔE 0.076
Use #40392B 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.