#213CA1#213CA1
#213CA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.166 H 266.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #213CA1 |
|---|---|
| RGB | rgb(33, 60, 161) |
| HSL | hsl(227, 66%, 38%) |
| HSV | hsv(227, 80%, 63%) |
| CMYK | cmyk(79.5%, 62.7%, 0%, 36.9%) |
| CIE-LAB | lab(29.73, 27.99, -57.42) |
| CIE-LCH | lch(29.73, 63.88, 295.99°) |
| OKLab | oklab(40.49% -0.009 -0.1661) |
| OKLCH | oklch(40.49% 0.166 266.9) |
| XYZ | xyz(8.6738, 6.1273, 34.4368) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.14
Cobalt
#0047AB
ΔE00 4.53
Blueberry
#464196
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213CA1 #A18621
analogous
#217CA1 #213CA1 #4621A1
triadic
#213CA1 #A1213C #3CA121
tetradic
#213CA1 #A1217C #A18621 #21A146
square
#213CA1 #A1217C #A18621 #21A146
split-complementary
#213CA1 #A14621 #7CA121
monochromatic
#0C163B #17296E #213CA1 #2C4FD4 #5E79DE
Accessibility & contrast
On white
9.44
#213CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#213CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213CA1
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213CA1 | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213ca1; /* rgb */ color: rgb(33, 60, 161); /* oklch */ color: oklch(40.5% 0.166 266.9);
Tailwind
colors: {
custom: {
50: '#7271be',
500: '#213ca1',
950: '#000000',
},
}SCSS
$custom: #213ca1; $custom-light: #7271be; $custom-dark: #000000;
JSON
{
"hex": "#213ca1",
"rgb": {
"r": 33,
"g": 60,
"b": 161
},
"hsl": {
"h": 227.344,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.40495,
"c": 0.16632,
"h": 266.9
},
"luminance": 0.06128
}Semantic roles & 50–950 ramp
primary
#213CA1
secondary
#C3AD5B
accent
#C53FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81