#213C98#213C98
#213C98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.154 H 266.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #213C98 |
|---|---|
| RGB | rgb(33, 60, 152) |
| HSL | hsl(226, 64%, 36%) |
| HSV | hsv(226, 78%, 60%) |
| CMYK | cmyk(78.3%, 60.5%, 0%, 40.4%) |
| CIE-LAB | lab(28.96, 24.51, -53.22) |
| CIE-LCH | lch(28.96, 58.59, 294.73°) |
| OKLab | oklab(39.68% -0.0091 -0.1537) |
| OKLCH | oklch(39.68% 0.154 266.6) |
| XYZ | xyz(7.9086, 5.8212, 30.4065) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Cobalt
#0047AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.10
Blueberry
#464196
ΔE00 5.37
Darkish Blue
#014182
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C98 #987D21
analogous
#217898 #213C98 #422198
triadic
#213C98 #98213C #3C9821
tetradic
#213C98 #982178 #987D21 #219842
square
#213C98 #982178 #987D21 #219842
split-complementary
#213C98 #984221 #789821
monochromatic
#0B1433 #162866 #213C98 #2C50CA #5976DB
Accessibility & contrast
On white
9.70
#213C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#213C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C98
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C98 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213c98; /* rgb */ color: rgb(33, 60, 152); /* oklch */ color: oklch(39.7% 0.154 266.6);
Tailwind
colors: {
custom: {
50: '#7071b7',
500: '#213c98',
950: '#000000',
},
}SCSS
$custom: #213c98; $custom-light: #7071b7; $custom-dark: #000000;
JSON
{
"hex": "#213c98",
"rgb": {
"r": 33,
"g": 60,
"b": 152
},
"hsl": {
"h": 226.387,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.39679,
"c": 0.15401,
"h": 266.6
},
"luminance": 0.05822
}Semantic roles & 50–950 ramp
primary
#213C98
secondary
#BFA756
accent
#C140E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80