#282A36#282A36
#282A36 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.8% C 0.022 H 277.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #282A36 |
|---|---|
| RGB | rgb(40, 42, 54) |
| HSL | hsl(231, 15%, 18%) |
| HSV | hsv(231, 26%, 21%) |
| CMYK | cmyk(25.9%, 22.2%, 0%, 78.8%) |
| CIE-LAB | lab(17.34, 2.36, -8.01) |
| CIE-LCH | lch(17.34, 8.35, 286.41°) |
| OKLab | oklab(28.82% 0.0029 -0.0219) |
| OKLCH | oklch(28.82% 0.022 277.5) |
| XYZ | xyz(2.3687, 2.3733, 3.8226) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 4.16
Gunmetal
#2A3439
ΔE00 7.90
Onyx
#353839
ΔE00 8.36
Dark Grey
#363737
ΔE00 8.43
Navy Blue
#1B2A4A
ΔE00 8.53
Charcoal (survey)
#343837
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A36 #363428
analogous
#283136 #282A36 #2D2836
triadic
#282A36 #36282A #2A3628
tetradic
#282A36 #362831 #363428 #28362D
square
#282A36 #362831 #363428 #28362D
split-complementary
#282A36 #362D28 #313628
monochromatic
#0D0E12 #0E0F13 #282A36 #424559 #5C617C
Accessibility & contrast
On white
14.24
#282A36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#282A36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A36
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A36 | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272B37
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#252C2E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #282a36; /* rgb */ color: rgb(40, 42, 54); /* oklch */ color: oklch(28.8% 0.022 277.5);
Tailwind
colors: {
custom: {
50: '#62636d',
500: '#282a36',
950: '#000000',
},
}SCSS
$custom: #282a36; $custom-light: #62636d; $custom-dark: #000000;
JSON
{
"hex": "#282a36",
"rgb": {
"r": 40,
"g": 42,
"b": 54
},
"hsl": {
"h": 231.429,
"s": 14.894,
"l": 18.431
},
"oklch": {
"l": 0.28823,
"c": 0.0221,
"h": 277.5
},
"luminance": 0.02373
}Semantic roles & 50–950 ramp
primary
#282A36
secondary
#676453
accent
#AD70B8
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050507
muted
#79797A