#213AA4#213AA4
#213AA4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.173 H 267.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #213AA4 |
|---|---|
| RGB | rgb(33, 58, 164) |
| HSL | hsl(229, 66%, 39%) |
| HSV | hsv(229, 80%, 64%) |
| CMYK | cmyk(79.9%, 64.6%, 0%, 35.7%) |
| CIE-LAB | lab(29.48, 30.47, -59.63) |
| CIE-LCH | lch(29.48, 66.97, 297.07°) |
| OKLab | oklab(40.4% -0.0079 -0.1726) |
| OKLCH | oklch(40.4% 0.173 267.4) |
| XYZ | xyz(8.8388, 6.0288, 35.8126) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.30
Blue Blue
#2242C7
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.15
Blueberry
#464196
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 6.53
Cobalt (survey)
#1E488F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213AA4 #A48B21
analogous
#217BA4 #213AA4 #4A21A4
triadic
#213AA4 #A4213A #3AA421
tetradic
#213AA4 #A4217B #A48B21 #21A44A
square
#213AA4 #A4217B #A48B21 #21A44A
split-complementary
#213AA4 #A44A21 #7BA421
monochromatic
#0C163E #172871 #213AA4 #2D4DD5 #6079DF
Accessibility & contrast
On white
9.52
#213AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#213AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213AA4
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213AA4 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213aa4; /* rgb */ color: rgb(33, 58, 164); /* oklch */ color: oklch(40.4% 0.173 267.4);
Tailwind
colors: {
custom: {
50: '#7370c0',
500: '#213aa4',
950: '#000000',
},
}SCSS
$custom: #213aa4; $custom-light: #7370c0; $custom-dark: #000000;
JSON
{
"hex": "#213aa4",
"rgb": {
"r": 33,
"g": 58,
"b": 164
},
"hsl": {
"h": 228.55,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.40396,
"c": 0.17276,
"h": 267.4
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#213AA4
secondary
#C4B05D
accent
#C93EE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81