#2A2E2B#2A2E2B
#2A2E2B is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.008 H 153.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E2B |
|---|---|
| RGB | rgb(42, 46, 43) |
| HSL | hsl(135, 5%, 17%) |
| HSV | hsv(135, 9%, 18%) |
| CMYK | cmyk(8.7%, 0%, 6.5%, 82%) |
| CIE-LAB | lab(18.46, -2.49, 1.33) |
| CIE-LCH | lch(18.46, 2.82, 151.87°) |
| OKLab | oklab(29.61% -0.0069 0.0035) |
| OKLCH | oklch(29.61% 0.008 153.4) |
| XYZ | xyz(2.3678, 2.6206, 2.6661) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.54
Dark Grey
#363737
ΔE00 4.43
Onyx
#353839
ΔE00 4.51
Gunmetal
#2A3439
ΔE00 5.68
Charcoal Grey
#3C4142
ΔE00 6.72
Almost Black
#070D0D
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E2B #2E2A2D
analogous
#2B2E2A #2A2E2B #2A2E2D
triadic
#2A2E2B #2B2A2E #2E2B2A
tetradic
#2A2E2B #2A2B2E #2E2A2D #2E2D2A
square
#2A2E2B #2A2B2E #2E2A2D #2E2D2A
split-complementary
#2A2E2B #2D2A2E #2E2A2B
monochromatic
#0F100F #0F100F #2A2E2B #474E49 #646E67
Accessibility & contrast
On white
13.78
#2A2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2A2E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E2B
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E2B | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2D2B
Deuteranopia (green-blind)
#2D2D2B
Tritanopia (blue-blind)
#292E2D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2a2e2b; /* rgb */ color: rgb(42, 46, 43); /* oklch */ color: oklch(29.6% 0.008 153.4);
Tailwind
colors: {
custom: {
50: '#636664',
500: '#2a2e2b',
950: '#000000',
},
}SCSS
$custom: #2a2e2b; $custom-light: #636664; $custom-dark: #000000;
JSON
{
"hex": "#2a2e2b",
"rgb": {
"r": 42,
"g": 46,
"b": 43
},
"hsl": {
"h": 135,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.29611,
"c": 0.00776,
"h": 153.4
},
"luminance": 0.02621
}Semantic roles & 50–950 ramp
primary
#2A2E2B
secondary
#5D575B
accent
#7AA1AE
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79