#213BA1#213BA1
#213BA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.168 H 267.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #213BA1 |
|---|---|
| RGB | rgb(33, 59, 161) |
| HSL | hsl(228, 66%, 38%) |
| HSV | hsv(228, 80%, 63%) |
| CMYK | cmyk(79.5%, 63.4%, 0%, 36.9%) |
| CIE-LAB | lab(29.47, 28.66, -57.84) |
| CIE-LCH | lch(29.47, 64.55, 296.36°) |
| OKLab | oklab(40.3% -0.0084 -0.1673) |
| OKLCH | oklch(40.3% 0.168 267.1) |
| XYZ | xyz(8.6219, 6.0235, 34.4195) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Cobalt
#0047AB
ΔE00 4.83
Blueberry
#464196
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213BA1 #A18721
analogous
#217BA1 #213BA1 #4721A1
triadic
#213BA1 #A1213B #3BA121
tetradic
#213BA1 #A1217B #A18721 #21A147
square
#213BA1 #A1217B #A18721 #21A147
split-complementary
#213BA1 #A14721 #7BA121
monochromatic
#0C163B #17286E #213BA1 #2C4ED4 #5E78DE
Accessibility & contrast
On white
9.52
#213BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#213BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213BA1
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213BA1 | 1.00 | 9.52 | 2.20 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213ba1; /* rgb */ color: rgb(33, 59, 161); /* oklch */ color: oklch(40.3% 0.168 267.1);
Tailwind
colors: {
custom: {
50: '#7270be',
500: '#213ba1',
950: '#000000',
},
}SCSS
$custom: #213ba1; $custom-light: #7270be; $custom-dark: #000000;
JSON
{
"hex": "#213ba1",
"rgb": {
"r": 33,
"g": 59,
"b": 161
},
"hsl": {
"h": 227.813,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.40303,
"c": 0.16753,
"h": 267.1
},
"luminance": 0.06024
}Semantic roles & 50–950 ramp
primary
#213BA1
secondary
#C3AE5B
accent
#C63FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81