#21337C#21337C
#21337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.126 H 268.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #21337C |
|---|---|
| RGB | rgb(33, 51, 124) |
| HSL | hsl(228, 58%, 31%) |
| HSV | hsv(228, 73%, 49%) |
| CMYK | cmyk(73.4%, 58.9%, 0%, 51.4%) |
| CIE-LAB | lab(24.15, 19.73, -43.66) |
| CIE-LCH | lch(24.15, 47.92, 294.32°) |
| OKLab | oklab(35.36% -0.003 -0.1258) |
| OKLCH | oklch(35.36% 0.126 268.6) |
| XYZ | xyz(5.4479, 4.1457, 19.5780) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.71
Marine Blue
#01386A
ΔE00 6.38
Darkish Blue
#014182
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 6.84
Sapphire (survey)
#2138AB
ΔE00 7.08
Blueberry
#464196
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21337C #7C6A21
analogous
#21607C #21337C #3C217C
triadic
#21337C #7C2133 #337C21
tetradic
#21337C #7C2160 #7C6A21 #217C3C
square
#21337C #7C2160 #7C6A21 #217C3C
split-complementary
#21337C #7C3C21 #607C21
monochromatic
#070B1B #141F4C #21337C #2E47AC #4963CF
Accessibility & contrast
On white
11.48
#21337C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#21337C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21337C
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21337C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21337C | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #21337c; /* rgb */ color: rgb(33, 51, 124); /* oklch */ color: oklch(35.4% 0.126 268.6);
Tailwind
colors: {
custom: {
50: '#696aa3',
500: '#21337c',
950: '#000000',
},
}SCSS
$custom: #21337c; $custom-light: #696aa3; $custom-dark: #000000;
JSON
{
"hex": "#21337c",
"rgb": {
"r": 33,
"g": 51,
"b": 124
},
"hsl": {
"h": 228.132,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.35356,
"c": 0.12586,
"h": 268.6
},
"luminance": 0.04146
}Semantic roles & 50–950 ramp
primary
#21337C
secondary
#AF9B4A
accent
#C347E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F