#404239
Closest named color: Charcoal Grey (#3C4142). oklch(37.4% 0.015 117.3), rgb(64, 66, 57).
Aa
White text reads best on this color (10.21:1).
About this color
#404239 is a dark close to neutral grey. In OKLCH its lightness is 37%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.017 away. White text reads best on it, at 10.21:1.
| Hue family | Neutrals |
| Lightness | dark (37%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.05:1 |
| White text | 10.21:1 |
Values
| HEX | #404239 |
| RGB | rgb(64, 66, 57) |
| HSL | hsl(73, 7%, 24%) |
| OKLCH | oklch(37.4% 0.015 117.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #404239 | 10.21:1 | AAA | Lc -97.8 | Preferred for body text |
| Black text on #404239 | 2.05:1 | Fails | Lc 10.2 | Not readable |
| #404239 text on white | 10.21:1 | AAA | Lc 93.7 | Preferred for body text |
| #404239 text on black | 2.05:1 | Fails | Lc -8.8 | 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
#F5F5F4
oklch(97% 0.001 106.4)
-
Step 100
100
#E9EAE8
oklch(93.6% 0.003 128.5)
-
Step 200
200
#D9DAD5
oklch(88.6% 0.007 115.7)
-
Step 300
300
#C0C2B9
oklch(81% 0.013 116.9)
-
Step 400
400
#9FA296
oklch(70.6% 0.017 118.3)
-
Step 500
500
#888C7C
oklch(63.2% 0.024 118.5)
-
Step 600
600
#727565
oklch(55.5% 0.024 115.8)
-
Step 700
700
#5F6354
oklch(49.2% 0.024 119.4)
-
Step 800
800
#4E5145
oklch(42.8% 0.02 118.6)
-
Step 900
900 (this color)
#404239
oklch(37.4% 0.015 117.3)
-
Step 950
950
#262722
oklch(27% 0.009 116.2)
#404239 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) | #434138 | 0.005 |
| Deuteranopia (no green cones) | #434139 | 0.006 |
| Tritanopia (no blue cones) | #41413F | 0.012 |
| Achromatopsia (no color) | #414141 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404239
#404239
oklch(37.4% 0.015 117.3)
- #423F48
#423F48
oklch(37.4% 0.016 300.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 #404239, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.017
- Onyx #343A40 ΔE 0.039
- Dark Slate Gray #2F4F4F ΔE 0.047
- Charcoal #264653 ΔE 0.051
- Dark Grey Blue #29465B ΔE 0.060
- Dark Teal #014D4E ΔE 0.064
- Dark Blue Grey #1F3B4D ΔE 0.066
- Dark Blue Green #005249 ΔE 0.068
Use #404239 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.