#282A2E#282A2E
#282A2E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.5% C 0.008 H 264.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #282A2E |
|---|---|
| RGB | rgb(40, 42, 46) |
| HSL | hsl(220, 7%, 17%) |
| HSV | hsv(220, 13%, 18%) |
| CMYK | cmyk(13%, 8.7%, 0%, 82%) |
| CIE-LAB | lab(17.01, 0.13, -2.91) |
| CIE-LCH | lch(17.01, 2.91, 272.53°) |
| OKLab | oklab(28.46% -0.0008 -0.0078) |
| OKLCH | oklch(28.46% 0.008 264.4) |
| XYZ | xyz(2.1961, 2.3043, 2.9133) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 4.93
Onyx
#353839
ΔE00 4.96
Gunmetal
#2A3439
ΔE00 4.96
Dark
#1B2431
ΔE00 5.74
Charcoal (survey)
#343837
ΔE00 5.83
Charcoal Grey
#3C4142
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A2E #2E2C28
analogous
#282D2E #282A2E #29282E
triadic
#282A2E #2E282A #2A2E28
tetradic
#282A2E #2E282D #2E2C28 #282E29
square
#282A2E #2E282D #2E2C28 #282E29
split-complementary
#282A2E #2E2928 #2D2E28
monochromatic
#0E0F10 #0E0F10 #282A2E #44484F #61666F
Accessibility & contrast
On white
14.38
#282A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#282A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A2E
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A2E | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292A2E
Deuteranopia (green-blind)
#282A2E
Tritanopia (blue-blind)
#272B2B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #282a2e; /* rgb */ color: rgb(40, 42, 46); /* oklch */ color: oklch(28.5% 0.008 264.4);
Tailwind
colors: {
custom: {
50: '#616366',
500: '#282a2e',
950: '#000000',
},
}SCSS
$custom: #282a2e; $custom-light: #616366; $custom-dark: #000000;
JSON
{
"hex": "#282a2e",
"rgb": {
"r": 40,
"g": 42,
"b": 46
},
"hsl": {
"h": 220,
"s": 6.977,
"l": 16.863
},
"oklch": {
"l": 0.28459,
"c": 0.00785,
"h": 264.4
},
"luminance": 0.02304
}Semantic roles & 50–950 ramp
primary
#282A2E
secondary
#5D5A55
accent
#9D78B0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A