#282D2D#282D2D
#282D2D is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.007 H 196.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #282D2D |
|---|---|
| RGB | rgb(40, 45, 45) |
| HSL | hsl(180, 6%, 17%) |
| HSV | hsv(180, 11%, 18%) |
| CMYK | cmyk(11.1%, 0%, 0%, 82.4%) |
| CIE-LAB | lab(18.00, -2.19, -0.75) |
| CIE-LCH | lch(18.00, 2.31, 198.92°) |
| OKLab | oklab(29.23% -0.0067 -0.002) |
| OKLCH | oklch(29.23% 0.007 196.7) |
| XYZ | xyz(2.2870, 2.5173, 2.8475) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.65
Gunmetal
#2A3439
ΔE00 3.98
Onyx
#353839
ΔE00 4.01
Dark Grey
#363737
ΔE00 4.26
Charcoal Grey
#3C4142
ΔE00 6.53
Dark
#1B2431
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282D2D #2D2828
analogous
#282D2B #282D2D #282B2D
triadic
#282D2D #2D282D #2D2D28
tetradic
#282D2D #2B282D #2D2828 #2B2D28
square
#282D2D #2B282D #2D2828 #2B2D28
split-complementary
#282D2D #2D282B #2D2B28
monochromatic
#0E1010 #0E1010 #282D2D #454D4D #626E6E
Accessibility & contrast
On white
13.97
#282D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#282D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282D2D
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282D2D | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#2B2C2D
Tritanopia (blue-blind)
#272D2D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #282d2d; /* rgb */ color: rgb(40, 45, 45); /* oklch */ color: oklch(29.2% 0.007 196.7);
Tailwind
colors: {
custom: {
50: '#616565',
500: '#282d2d',
950: '#000000',
},
}SCSS
$custom: #282d2d; $custom-light: #616565; $custom-dark: #000000;
JSON
{
"hex": "#282d2d",
"rgb": {
"r": 40,
"g": 45,
"b": 45
},
"hsl": {
"h": 180,
"s": 5.882,
"l": 16.667
},
"oklch": {
"l": 0.29225,
"c": 0.00705,
"h": 196.7
},
"luminance": 0.02517
}Semantic roles & 50–950 ramp
primary
#282D2D
secondary
#5C5555
accent
#7979AF
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A