#2E3834
Closest named color: Onyx (#343A40). oklch(33% 0.015 169.2), rgb(46, 56, 52).
Aa
White text reads best on this color (12.12:1).
About this color
#2E3834 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.024 away. White text reads best on it, at 12.12:1.
| Hue family | Neutrals |
| Lightness | dark (33%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.73:1 |
| White text | 12.12:1 |
Values
| HEX | #2E3834 |
| RGB | rgb(46, 56, 52) |
| HSL | hsl(156, 10%, 20%) |
| OKLCH | oklch(33% 0.015 169.2) |
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 #2E3834 | 12.12:1 | AAA | Lc -101.2 | Preferred for body text |
| Black text on #2E3834 | 1.73:1 | Fails | Lc 0.0 | Not readable |
| #2E3834 text on white | 12.12:1 | AAA | Lc 97.7 | Preferred for body text |
| #2E3834 text on black | 1.73: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
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E8EAE9
oklch(93.5% 0.003 165.1)
-
Step 200
200
#D5DAD8
oklch(88.4% 0.006 170.4)
-
Step 300
300
#BAC3BF
oklch(80.9% 0.011 167.7)
-
Step 400
400
#96A49F
oklch(70.6% 0.017 172.4)
-
Step 500
500
#7C8E87
oklch(63% 0.023 170.2)
-
Step 600
600
#657871
oklch(55.5% 0.025 171.1)
-
Step 700
700
#54655E
oklch(49% 0.023 168.5)
-
Step 800
800
#45534D
oklch(42.8% 0.02 167.6)
-
Step 900
900 (this color)
#2E3834
oklch(33% 0.015 169.2)
-
Step 950
950
#222826
oklch(27% 0.009 173.5)
#2E3834 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) | #373734 | 0.015 |
| Deuteranopia (no green cones) | #363534 | 0.016 |
| Tritanopia (no blue cones) | #2C3837 | 0.006 |
| Achromatopsia (no color) | #363636 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2E3834
#2E3834
oklch(33% 0.015 169.2)
- #3C3237
#3C3237
oklch(33% 0.017 346.4)
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 #2E3834, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.024
- Gunmetal #293241 ΔE 0.037
- Charcoal Grey #3C4142 ΔE 0.042
- Dark Blue Grey #1F3B4D ΔE 0.044
- Pakistan Green #283618 ΔE 0.046
- Midnight Green #073B4C ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.052
- Charcoal #264653 ΔE 0.059
Use #2E3834 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.