#213EA1#213EA1
#213EA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.164 H 266.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #213EA1 |
|---|---|
| RGB | rgb(33, 62, 161) |
| HSL | hsl(226, 66%, 38%) |
| HSV | hsv(226, 80%, 63%) |
| CMYK | cmyk(79.5%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(30.26, 26.65, -56.56) |
| CIE-LCH | lch(30.26, 62.52, 295.23°) |
| OKLab | oklab(40.89% -0.0103 -0.1635) |
| OKLCH | oklch(40.89% 0.164 266.4) |
| XYZ | xyz(8.7806, 6.3408, 34.4724) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Cobalt
#0047AB
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 5.32
Blueberry
#464196
ΔE00 5.42
Darkish Blue
#014182
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213EA1 #A18421
analogous
#217EA1 #213EA1 #4421A1
triadic
#213EA1 #A1213E #3EA121
tetradic
#213EA1 #A1217E #A18421 #21A144
square
#213EA1 #A1217E #A18421 #21A144
split-complementary
#213EA1 #A14421 #7EA121
monochromatic
#0C173B #172A6E #213EA1 #2C52D4 #5E7BDE
Accessibility & contrast
On white
9.26
#213EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#213EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213EA1
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213EA1 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213ea1; /* rgb */ color: rgb(33, 62, 161); /* oklch */ color: oklch(40.9% 0.164 266.4);
Tailwind
colors: {
custom: {
50: '#7272be',
500: '#213ea1',
950: '#000000',
},
}SCSS
$custom: #213ea1; $custom-light: #7272be; $custom-dark: #000000;
JSON
{
"hex": "#213ea1",
"rgb": {
"r": 33,
"g": 62,
"b": 161
},
"hsl": {
"h": 226.406,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.40885,
"c": 0.16384,
"h": 266.4
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#213EA1
secondary
#C3AB5B
accent
#C23FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81