#282940#282940
#282940 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.042 H 281.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #282940 |
|---|---|
| RGB | rgb(40, 41, 64) |
| HSL | hsl(238, 23%, 20%) |
| HSV | hsv(238, 38%, 25%) |
| CMYK | cmyk(37.5%, 35.9%, 0%, 74.9%) |
| CIE-LAB | lab(17.49, 6.16, -14.71) |
| CIE-LCH | lch(17.49, 15.95, 292.71°) |
| OKLab | oklab(29.1% 0.0084 -0.0409) |
| OKLCH | oklch(29.1% 0.042 281.6) |
| XYZ | xyz(2.5932, 2.4071, 5.1775) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.34
Dark
#1B2431
ΔE00 7.80
Navy (survey)
#01153E
ΔE00 9.60
Marine
#042E60
ΔE00 10.89
Midnight
#03012D
ΔE00 11.52
Dark Navy Blue
#00022E
ΔE00 11.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282940 #403F28
analogous
#283540 #282940 #332840
triadic
#282940 #402829 #294028
tetradic
#282940 #402835 #403F28 #284033
square
#282940 #402835 #403F28 #284033
split-complementary
#282940 #403328 #354028
monochromatic
#0C0C13 #10111A #282940 #404166 #57598B
Accessibility & contrast
On white
14.18
#282940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#282940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282940
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282940 | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#222D31
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #282940; /* rgb */ color: rgb(40, 41, 64); /* oklch */ color: oklch(29.1% 0.042 281.6);
Tailwind
colors: {
custom: {
50: '#636275',
500: '#282940',
950: '#000000',
},
}SCSS
$custom: #282940; $custom-light: #636275; $custom-dark: #000000;
JSON
{
"hex": "#282940",
"rgb": {
"r": 40,
"g": 41,
"b": 64
},
"hsl": {
"h": 237.5,
"s": 23.077,
"l": 20.392
},
"oklch": {
"l": 0.29105,
"c": 0.0418,
"h": 281.6
},
"luminance": 0.02407
}Semantic roles & 50–950 ramp
primary
#282940
secondary
#727052
accent
#BC68C0
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B