#282E2D#282E2D
#282E2D is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.009 H 184.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #282E2D |
|---|---|
| RGB | rgb(40, 46, 45) |
| HSL | hsl(170, 7%, 17%) |
| HSV | hsv(170, 13%, 18%) |
| CMYK | cmyk(13%, 0%, 2.2%, 82%) |
| CIE-LAB | lab(18.34, -2.86, -0.25) |
| CIE-LCH | lch(18.34, 2.87, 184.92°) |
| OKLab | oklab(29.5% -0.0086 -0.0007) |
| OKLCH | oklch(29.5% 0.009 184.7) |
| XYZ | xyz(2.3256, 2.5945, 2.8604) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.55
Gunmetal
#2A3439
ΔE00 4.27
Onyx
#353839
ΔE00 4.30
Dark Grey
#363737
ΔE00 4.61
Charcoal Grey
#3C4142
ΔE00 6.48
Dark
#1B2431
ΔE00 9.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E2D #2E2829
analogous
#282E2A #282E2D #282C2E
triadic
#282E2D #2D282E #2E2D28
tetradic
#282E2D #2A282E #2E2829 #2C2E28
square
#282E2D #2A282E #2E2829 #2C2E28
split-complementary
#282E2D #2E282C #2E2A28
monochromatic
#0E1010 #0E1010 #282E2D #444F4D #616F6D
Accessibility & contrast
On white
13.82
#282E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#282E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E2D
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E2D | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2D2D
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#272E2E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #282e2d; /* rgb */ color: rgb(40, 46, 45); /* oklch */ color: oklch(29.5% 0.009 184.7);
Tailwind
colors: {
custom: {
50: '#616665',
500: '#282e2d',
950: '#000000',
},
}SCSS
$custom: #282e2d; $custom-light: #616665; $custom-dark: #000000;
JSON
{
"hex": "#282e2d",
"rgb": {
"r": 40,
"g": 46,
"b": 45
},
"hsl": {
"h": 170,
"s": 6.977,
"l": 16.863
},
"oklch": {
"l": 0.29497,
"c": 0.00859,
"h": 184.7
},
"luminance": 0.02595
}Semantic roles & 50–950 ramp
primary
#282E2D
secondary
#5D5556
accent
#7881B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050605
muted
#797A7A