#282E2A#282E2A
#282E2A is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.4% C 0.011 H 156.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #282E2A |
|---|---|
| RGB | rgb(40, 46, 42) |
| HSL | hsl(140, 7%, 17%) |
| HSV | hsv(140, 13%, 18%) |
| CMYK | cmyk(13%, 0%, 8.7%, 82%) |
| CIE-LAB | lab(18.24, -3.61, 1.69) |
| CIE-LCH | lch(18.24, 3.98, 154.89°) |
| OKLab | oklab(29.39% -0.0101 0.0044) |
| OKLCH | oklch(29.39% 0.011 156.5) |
| XYZ | xyz(2.2699, 2.5722, 2.5669) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 4.25
Onyx
#353839
ΔE00 5.48
Dark Grey
#363737
ΔE00 5.57
Gunmetal
#2A3439
ΔE00 6.13
Charcoal Grey
#3C4142
ΔE00 7.28
Almost Black
#070D0D
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E2A #2E282C
analogous
#292E28 #282E2A #282E2D
triadic
#282E2A #2A282E #2E2A28
tetradic
#282E2A #28292E #2E282C #2E2D28
square
#282E2A #28292E #2E282C #2E2D28
split-complementary
#282E2A #2D282E #2E2829
monochromatic
#0E100F #0E100F #282E2A #444F48 #616F66
Accessibility & contrast
On white
13.87
#282E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#282E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E2A
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E2A | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#272E2D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #282e2a; /* rgb */ color: rgb(40, 46, 42); /* oklch */ color: oklch(29.4% 0.011 156.5);
Tailwind
colors: {
custom: {
50: '#616663',
500: '#282e2a',
950: '#000000',
},
}SCSS
$custom: #282e2a; $custom-light: #616663; $custom-dark: #000000;
JSON
{
"hex": "#282e2a",
"rgb": {
"r": 40,
"g": 46,
"b": 42
},
"hsl": {
"h": 140,
"s": 6.977,
"l": 16.863
},
"oklch": {
"l": 0.29386,
"c": 0.01104,
"h": 156.5
},
"luminance": 0.02572
}Semantic roles & 50–950 ramp
primary
#282E2A
secondary
#5D555A
accent
#789DB0
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050605
muted
#797A79