#213CA4#213CA4
#213CA4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.170 H 266.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #213CA4 |
|---|---|
| RGB | rgb(33, 60, 164) |
| HSL | hsl(228, 66%, 39%) |
| HSV | hsv(228, 80%, 64%) |
| CMYK | cmyk(79.9%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(30.00, 29.14, -58.80) |
| CIE-LCH | lch(30.00, 65.62, 296.37°) |
| OKLab | oklab(40.77% -0.0091 -0.1701) |
| OKLCH | oklch(40.77% 0.17 266.9) |
| XYZ | xyz(8.9416, 6.2344, 35.8469) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 4.98
Blueberry
#464196
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213CA4 #A48921
analogous
#217DA4 #213CA4 #4821A4
triadic
#213CA4 #A4213C #3CA421
tetradic
#213CA4 #A4217D #A48921 #21A448
square
#213CA4 #A4217D #A48921 #21A448
split-complementary
#213CA4 #A44821 #7DA421
monochromatic
#0C173E #172971 #213CA4 #2D50D5 #607ADF
Accessibility & contrast
On white
9.35
#213CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#213CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213CA4
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213CA4 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213ca4; /* rgb */ color: rgb(33, 60, 164); /* oklch */ color: oklch(40.8% 0.170 266.9);
Tailwind
colors: {
custom: {
50: '#7371c0',
500: '#213ca4',
950: '#000000',
},
}SCSS
$custom: #213ca4; $custom-light: #7371c0; $custom-dark: #000000;
JSON
{
"hex": "#213ca4",
"rgb": {
"r": 33,
"g": 60,
"b": 164
},
"hsl": {
"h": 227.634,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.40773,
"c": 0.17034,
"h": 266.9
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#213CA4
secondary
#C4AF5D
accent
#C63EE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81