#282A2F#282A2F
#282A2F is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.5% C 0.010 H 268.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #282A2F |
|---|---|
| RGB | rgb(40, 42, 47) |
| HSL | hsl(223, 8%, 17%) |
| HSV | hsv(223, 15%, 18%) |
| CMYK | cmyk(14.9%, 10.6%, 0%, 81.6%) |
| CIE-LAB | lab(17.05, 0.39, -3.55) |
| CIE-LCH | lch(17.05, 3.57, 276.31°) |
| OKLab | oklab(28.5% -0.0003 -0.0096) |
| OKLCH | oklch(28.5% 0.01 268.3) |
| XYZ | xyz(2.2160, 2.3123, 3.0183) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Gunmetal
#2A3439
ΔE00 5.16
Dark
#1B2431
ΔE00 5.27
Onyx
#353839
ΔE00 5.29
Dark Grey
#363737
ΔE00 5.30
Charcoal (survey)
#343837
ΔE00 6.27
Charcoal Grey
#3C4142
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A2F #2F2D28
analogous
#282E2F #282A2F #2A282F
triadic
#282A2F #2F282A #2A2F28
tetradic
#282A2F #2F282E #2F2D28 #282F2A
square
#282A2F #2F282E #2F2D28 #282F2A
split-complementary
#282A2F #2F2A28 #2E2F28
monochromatic
#0E0F11 #0E0F11 #282A2F #444850 #606571
Accessibility & contrast
On white
14.36
#282A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#282A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A2F
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A2F | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292A2F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#262B2C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #282a2f; /* rgb */ color: rgb(40, 42, 47); /* oklch */ color: oklch(28.5% 0.010 268.3);
Tailwind
colors: {
custom: {
50: '#616367',
500: '#282a2f',
950: '#000000',
},
}SCSS
$custom: #282a2f; $custom-light: #616367; $custom-dark: #000000;
JSON
{
"hex": "#282a2f",
"rgb": {
"r": 40,
"g": 42,
"b": 47
},
"hsl": {
"h": 222.857,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.28502,
"c": 0.00957,
"h": 268.3
},
"luminance": 0.02312
}Semantic roles & 50–950 ramp
primary
#282A2F
secondary
#5E5C54
accent
#A077B1
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A