#282C2C#282C2C
#282C2C is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.006 H 196.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #282C2C |
|---|---|
| RGB | rgb(40, 44, 44) |
| HSL | hsl(180, 5%, 16%) |
| HSV | hsv(180, 9%, 17%) |
| CMYK | cmyk(9.1%, 0%, 0%, 82.7%) |
| CIE-LAB | lab(17.62, -1.76, -0.61) |
| CIE-LCH | lch(17.62, 1.86, 199.00°) |
| OKLab | oklab(28.92% -0.0054 -0.0016) |
| OKLCH | oklch(28.92% 0.006 196.9) |
| XYZ | xyz(2.2303, 2.4343, 2.7347) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.88
Onyx
#353839
ΔE00 4.08
Dark Grey
#363737
ΔE00 4.18
Gunmetal
#2A3439
ΔE00 4.35
Charcoal Grey
#3C4142
ΔE00 6.77
Dark
#1B2431
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C2C #2C2828
analogous
#282C2A #282C2C #282A2C
triadic
#282C2C #2C282C #2C2C28
tetradic
#282C2C #2A282C #2C2828 #2A2C28
square
#282C2C #2A282C #2C2828 #2A2C28
split-complementary
#282C2C #2C282A #2C2A28
monochromatic
#0F1010 #0F1010 #282C2C #454C4C #626C6C
Accessibility & contrast
On white
14.12
#282C2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#282C2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C2C
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C2C | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C2C
Deuteranopia (green-blind)
#2B2B2C
Tritanopia (blue-blind)
#272C2C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #282c2c; /* rgb */ color: rgb(40, 44, 44); /* oklch */ color: oklch(28.9% 0.006 196.9);
Tailwind
colors: {
custom: {
50: '#616565',
500: '#282c2c',
950: '#000000',
},
}SCSS
$custom: #282c2c; $custom-light: #616565; $custom-dark: #000000;
JSON
{
"hex": "#282c2c",
"rgb": {
"r": 40,
"g": 44,
"b": 44
},
"hsl": {
"h": 180,
"s": 4.762,
"l": 16.471
},
"oklch": {
"l": 0.28915,
"c": 0.00568,
"h": 196.9
},
"luminance": 0.02434
}Semantic roles & 50–950 ramp
primary
#282C2C
secondary
#5B5555
accent
#7A7AAE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A