#213FA1#213FA1
#213FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.163 H 266.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #213FA1 |
|---|---|
| RGB | rgb(33, 63, 161) |
| HSL | hsl(226, 66%, 38%) |
| HSV | hsv(226, 80%, 63%) |
| CMYK | cmyk(79.5%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(30.52, 25.98, -56.13) |
| CIE-LCH | lch(30.52, 61.85, 294.83°) |
| OKLab | oklab(41.08% -0.0109 -0.1622) |
| OKLCH | oklch(41.08% 0.163 266.1) |
| XYZ | xyz(8.8355, 6.4505, 34.4907) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Cobalt
#0047AB
ΔE00 3.64
Cobalt (survey)
#1E488F
ΔE00 4.96
Blue Blue
#2242C7
ΔE00 5.31
Blueberry
#464196
ΔE00 5.48
Darkish Blue
#014182
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213FA1 #A18321
analogous
#217FA1 #213FA1 #4321A1
triadic
#213FA1 #A1213F #3FA121
tetradic
#213FA1 #A1217F #A18321 #21A143
square
#213FA1 #A1217F #A18321 #21A143
split-complementary
#213FA1 #A14321 #7FA121
monochromatic
#0C173B #172B6E #213FA1 #2C53D4 #5E7CDE
Accessibility & contrast
On white
9.17
#213FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#213FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213FA1
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213FA1 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #213fa1; /* rgb */ color: rgb(33, 63, 161); /* oklch */ color: oklch(41.1% 0.163 266.1);
Tailwind
colors: {
custom: {
50: '#7273be',
500: '#213fa1',
950: '#000000',
},
}SCSS
$custom: #213fa1; $custom-light: #7273be; $custom-dark: #000000;
JSON
{
"hex": "#213fa1",
"rgb": {
"r": 33,
"g": 63,
"b": 161
},
"hsl": {
"h": 225.938,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.41083,
"c": 0.16261,
"h": 266.1
},
"luminance": 0.06452
}Semantic roles & 50–950 ramp
primary
#213FA1
secondary
#C3AA5B
accent
#C13FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81