#2A2E2E#2A2E2E
#2A2E2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.006 H 196.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E2E |
|---|---|
| RGB | rgb(42, 46, 46) |
| HSL | hsl(180, 5%, 17%) |
| HSV | hsv(180, 9%, 18%) |
| CMYK | cmyk(8.7%, 0%, 0%, 82%) |
| CIE-LAB | lab(18.56, -1.75, -0.60) |
| CIE-LCH | lch(18.56, 1.85, 199.00°) |
| OKLab | oklab(29.72% -0.0054 -0.0016) |
| OKLCH | oklch(29.72% 0.006 196.9) |
| XYZ | xyz(2.4249, 2.6435, 2.9667) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.25
Onyx
#353839
ΔE00 3.47
Dark Grey
#363737
ΔE00 3.62
Gunmetal
#2A3439
ΔE00 4.05
Charcoal Grey
#3C4142
ΔE00 6.14
Dark
#1B2431
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E2E #2E2A2A
analogous
#2A2E2C #2A2E2E #2A2C2E
triadic
#2A2E2E #2E2A2E #2E2E2A
tetradic
#2A2E2E #2C2A2E #2E2A2A #2C2E2A
square
#2A2E2E #2C2A2E #2E2A2A #2C2E2A
split-complementary
#2A2E2E #2E2A2C #2E2C2A
monochromatic
#0F1010 #0F1010 #2A2E2E #474E4E #646E6E
Accessibility & contrast
On white
13.74
#2A2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#2A2E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E2E
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E2E | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2E2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#292E2E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2a2e2e; /* rgb */ color: rgb(42, 46, 46); /* oklch */ color: oklch(29.7% 0.006 196.9);
Tailwind
colors: {
custom: {
50: '#636666',
500: '#2a2e2e',
950: '#000000',
},
}SCSS
$custom: #2a2e2e; $custom-light: #636666; $custom-dark: #000000;
JSON
{
"hex": "#2a2e2e",
"rgb": {
"r": 42,
"g": 46,
"b": 46
},
"hsl": {
"h": 180,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.29723,
"c": 0.00564,
"h": 196.9
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#2A2E2E
secondary
#5D5757
accent
#7A7AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A