#282826#282826
#282826 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.004 H 106.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #282826 |
|---|---|
| RGB | rgb(40, 40, 38) |
| HSL | hsl(60, 3%, 15%) |
| HSV | hsv(60, 5%, 16%) |
| CMYK | cmyk(0%, 0%, 5%, 84.3%) |
| CIE-LAB | lab(16.05, -0.47, 1.31) |
| CIE-LCH | lch(16.05, 1.40, 109.74°) |
| OKLab | oklab(27.61% -0.001 0.0035) |
| OKLCH | oklch(27.61% 0.004 106.6) |
| XYZ | xyz(1.9837, 2.1086, 2.1359) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 4.98
Charcoal (survey)
#343837
ΔE00 5.43
Onyx
#353839
ΔE00 5.55
Gunmetal
#2A3439
ΔE00 7.03
Almost Black
#070D0D
ΔE00 8.35
Charcoal Grey
#3C4142
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282826 #262628
analogous
#282726 #282826 #272826
triadic
#282826 #262828 #282628
tetradic
#282826 #262827 #262628 #282627
square
#282826 #262827 #262628 #282627
split-complementary
#282826 #262728 #272628
monochromatic
#10100F #10100F #282826 #474744 #676762
Accessibility & contrast
On white
14.77
#282826 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#282826 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282826
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282826 | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282826
Deuteranopia (green-blind)
#282826
Tritanopia (blue-blind)
#282827
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #282826; /* rgb */ color: rgb(40, 40, 38); /* oklch */ color: oklch(27.6% 0.004 106.6);
Tailwind
colors: {
custom: {
50: '#616160',
500: '#282826',
950: '#000000',
},
}SCSS
$custom: #282826; $custom-light: #616160; $custom-dark: #000000;
JSON
{
"hex": "#282826",
"rgb": {
"r": 40,
"g": 40,
"b": 38
},
"hsl": {
"h": 60,
"s": 2.564,
"l": 15.294
},
"oklch": {
"l": 0.2761,
"c": 0.00361,
"h": 106.6
},
"luminance": 0.02109
}Semantic roles & 50–950 ramp
primary
#282826
secondary
#535356
accent
#7CAC7C
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050504
muted
#797979