#2E2A2A#2E2A2A
#2E2A2A is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.006 H 17.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2A2A |
|---|---|
| RGB | rgb(46, 42, 42) |
| HSL | hsl(0, 5%, 17%) |
| HSV | hsv(0, 9%, 18%) |
| CMYK | cmyk(0%, 8.7%, 8.7%, 82%) |
| CIE-LAB | lab(17.48, 1.82, 0.66) |
| CIE-LCH | lch(17.48, 1.94, 19.84°) |
| OKLab | oklab(28.93% 0.0056 0.0018) |
| OKLCH | oklch(28.93% 0.006 17.4) |
| XYZ | xyz(2.3726, 2.4040, 2.5291) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 5.07
Onyx
#353839
ΔE00 6.08
Charcoal (survey)
#343837
ΔE00 6.77
Gunmetal
#2A3439
ΔE00 8.63
Charcoal Grey
#3C4142
ΔE00 8.93
Dark
#1B2431
ΔE00 9.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2A2A #2A2E2E
analogous
#2E2A2C #2E2A2A #2E2C2A
triadic
#2E2A2A #2A2E2A #2A2A2E
tetradic
#2E2A2A #2C2E2A #2A2E2E #2C2A2E
square
#2E2A2A #2C2E2A #2A2E2E #2C2A2E
split-complementary
#2E2A2A #2A2E2C #2A2C2E
monochromatic
#100F0F #100F0F #2E2A2A #4E4747 #6E6464
Accessibility & contrast
On white
14.18
#2E2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2E2A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2A2A
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2A2A | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2A2A
Deuteranopia (green-blind)
#2C2B2A
Tritanopia (blue-blind)
#2F2A2A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2e2a2a; /* rgb */ color: rgb(46, 42, 42); /* oklch */ color: oklch(28.9% 0.006 17.4);
Tailwind
colors: {
custom: {
50: '#666363',
500: '#2e2a2a',
950: '#000000',
},
}SCSS
$custom: #2e2a2a; $custom-light: #666363; $custom-dark: #000000;
JSON
{
"hex": "#2e2a2a",
"rgb": {
"r": 46,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.2893,
"c": 0.00587,
"h": 17.4
},
"luminance": 0.02404
}Semantic roles & 50–950 ramp
primary
#2E2A2A
secondary
#575D5D
accent
#AEAE7A
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979