#2E282E#2E282E
#2E282E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.6% C 0.014 H 325.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E282E |
|---|---|
| RGB | rgb(46, 40, 46) |
| HSL | hsl(300, 7%, 17%) |
| HSV | hsv(300, 13%, 18%) |
| CMYK | cmyk(0%, 13%, 0%, 82%) |
| CIE-LAB | lab(16.97, 4.15, -2.90) |
| CIE-LCH | lch(16.97, 5.06, 325.02°) |
| OKLab | oklab(28.58% 0.0114 -0.0077) |
| OKLCH | oklch(28.58% 0.014 325.9) |
| XYZ | xyz(2.3786, 2.2957, 2.9021) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.75
Onyx
#353839
ΔE00 8.52
Dark
#1B2431
ΔE00 8.64
Charcoal (survey)
#343837
ΔE00 9.66
Gunmetal
#2A3439
ΔE00 10.51
Charcoal Grey
#3C4142
ΔE00 11.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E282E #282E28
analogous
#2B282E #2E282E #2E282B
triadic
#2E282E #2E2E28 #282E2E
tetradic
#2E282E #2E2B28 #282E28 #282B2E
square
#2E282E #2E2B28 #282E28 #282B2E
split-complementary
#2E282E #2B2E28 #282E2B
monochromatic
#100E10 #100E10 #2E282E #4F444F #6F616F
Accessibility & contrast
On white
14.39
#2E282E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2E282E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E282E
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E282E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E282E | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292E
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#2E282A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2e282e; /* rgb */ color: rgb(46, 40, 46); /* oklch */ color: oklch(28.6% 0.014 325.9);
Tailwind
colors: {
custom: {
50: '#666166',
500: '#2e282e',
950: '#000000',
},
}SCSS
$custom: #2e282e; $custom-light: #666166; $custom-dark: #000000;
JSON
{
"hex": "#2e282e",
"rgb": {
"r": 46,
"g": 40,
"b": 46
},
"hsl": {
"h": 300,
"s": 6.977,
"l": 16.863
},
"oklch": {
"l": 0.28579,
"c": 0.01378,
"h": 325.9
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#2E282E
secondary
#555D55
accent
#B07878
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A