#2E3938
Closest named color: Onyx (#343A40). oklch(33.4% 0.015 189.7), rgb(46, 57, 56).
Aa
White text reads best on this color (11.94:1).
About this color
#2E3938 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.018 away. White text reads best on it, at 11.94:1.
| Hue family | Neutrals |
| Lightness | dark (33%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.75:1 |
| White text | 11.94:1 |
Values
| HEX | #2E3938 |
| RGB | rgb(46, 57, 56) |
| HSL | hsl(175, 11%, 20%) |
| OKLCH | oklch(33.4% 0.015 189.7) |
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 #2E3938 | 11.94:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #2E3938 | 1.75:1 | Fails | Lc 0.0 | Not readable |
| #2E3938 text on white | 11.94:1 | AAA | Lc 97.4 | Preferred for body text |
| #2E3938 text on black | 1.75: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
#F4F6F6
oklch(97.2% 0.002 197.1)
-
Step 100
100
#E7EAEA
oklch(93.5% 0.003 197.1)
-
Step 200
200
#D5DADA
oklch(88.5% 0.005 197.1)
-
Step 300
300
#B9C3C2
oklch(80.9% 0.011 189.8)
-
Step 400
400
#95A4A3
oklch(70.7% 0.017 191.9)
-
Step 500
500
#7B8E8C
oklch(63.1% 0.022 188.9)
-
Step 600
600
#637876
oklch(55.5% 0.025 189.4)
-
Step 700
700
#526563
oklch(49% 0.023 188.6)
-
Step 800
800
#435251
oklch(42.5% 0.019 191.5)
-
Step 900
900 (this color)
#2E3938
oklch(33.4% 0.015 189.7)
-
Step 950
950
#212827
oklch(27% 0.01 186.1)
#2E3938 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) | #383838 | 0.016 |
| Deuteranopia (no green cones) | #353638 | 0.014 |
| Tritanopia (no blue cones) | #2B3A39 | 0.005 |
| Achromatopsia (no color) | #373737 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2E3938, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.018
- Gunmetal #293241 ΔE 0.034
- Charcoal Grey #3C4142 ΔE 0.038
- Dark Blue Grey #1F3B4D ΔE 0.039
- Midnight Green #073B4C ΔE 0.048
- Space Cadet #2B2D42 ΔE 0.050
- Pakistan Green #283618 ΔE 0.052
- Charcoal #264653 ΔE 0.053
Use #2E3938 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.