#282838#282838
#282838 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.029 H 284.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #282838 |
|---|---|
| RGB | rgb(40, 40, 56) |
| HSL | hsl(240, 17%, 19%) |
| HSV | hsv(240, 29%, 22%) |
| CMYK | cmyk(28.6%, 28.6%, 0%, 78%) |
| CIE-LAB | lab(16.77, 4.37, -10.28) |
| CIE-LCH | lch(16.77, 11.17, 293.03°) |
| OKLab | oklab(28.41% 0.0073 -0.0283) |
| OKLCH | oklch(28.41% 0.029 284.4) |
| XYZ | xyz(2.3475, 2.2542, 4.0520) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.92
Navy Blue
#1B2A4A
ΔE00 7.41
Gunmetal
#2A3439
ΔE00 10.65
Dark Grey
#363737
ΔE00 10.71
Onyx
#353839
ΔE00 10.78
Navy (survey)
#01153E
ΔE00 11.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282838 #383828
analogous
#283038 #282838 #302838
triadic
#282838 #382828 #283828
tetradic
#282838 #382830 #383828 #283830
square
#282838 #382830 #383828 #283830
split-complementary
#282838 #383028 #303828
monochromatic
#0D0D12 #0F0F14 #282838 #42425C #5B5B7F
Accessibility & contrast
On white
14.47
#282838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#282838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282838
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282838 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#232938
Tritanopia (blue-blind)
#242B2E
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #282838; /* rgb */ color: rgb(40, 40, 56); /* oklch */ color: oklch(28.4% 0.029 284.4);
Tailwind
colors: {
custom: {
50: '#62616e',
500: '#282838',
950: '#000000',
},
}SCSS
$custom: #282838; $custom-light: #62616e; $custom-dark: #000000;
JSON
{
"hex": "#282838",
"rgb": {
"r": 40,
"g": 40,
"b": 56
},
"hsl": {
"h": 240,
"s": 16.667,
"l": 18.824
},
"oklch": {
"l": 0.28412,
"c": 0.0292,
"h": 284.4
},
"luminance": 0.02254
}Semantic roles & 50–950 ramp
primary
#282838
secondary
#696953
accent
#B96EB9
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A