#21337E#21337E
#21337E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.129 H 268.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #21337E |
|---|---|
| RGB | rgb(33, 51, 126) |
| HSL | hsl(228, 58%, 31%) |
| HSV | hsv(228, 74%, 49%) |
| CMYK | cmyk(73.8%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(24.31, 20.52, -44.66) |
| CIE-LCH | lch(24.31, 49.15, 294.68°) |
| OKLab | oklab(35.53% -0.0029 -0.1287) |
| OKLCH | oklch(35.53% 0.129 268.7) |
| XYZ | xyz(5.5756, 4.1968, 20.2508) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.97
Marine Blue
#01386A
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.72
Sapphire (survey)
#2138AB
ΔE00 6.75
Darkish Blue
#014182
ΔE00 6.86
Blueberry
#464196
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21337E #7E6C21
analogous
#21617E #21337E #3D217E
triadic
#21337E #7E2133 #337E21
tetradic
#21337E #7E2161 #7E6C21 #217E3D
square
#21337E #7E2161 #7E6C21 #217E3D
split-complementary
#21337E #7E3D21 #617E21
monochromatic
#080C1D #141F4E #21337E #2E47AE #4A64D0
Accessibility & contrast
On white
11.42
#21337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#21337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21337E
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21337E | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #21337e; /* rgb */ color: rgb(33, 51, 126); /* oklch */ color: oklch(35.5% 0.129 268.7);
Tailwind
colors: {
custom: {
50: '#6a6aa4',
500: '#21337e',
950: '#000000',
},
}SCSS
$custom: #21337e; $custom-light: #6a6aa4; $custom-dark: #000000;
JSON
{
"hex": "#21337e",
"rgb": {
"r": 33,
"g": 51,
"b": 126
},
"hsl": {
"h": 228.387,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.35531,
"c": 0.12877,
"h": 268.7
},
"luminance": 0.04197
}Semantic roles & 50–950 ramp
primary
#21337E
secondary
#B19D4A
accent
#C446E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F