#213A98#213A98
#213A98 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.157 H 267.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #213A98 |
|---|---|
| RGB | rgb(33, 58, 152) |
| HSL | hsl(227, 64%, 36%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(78.3%, 61.8%, 0%, 40.4%) |
| CIE-LAB | lab(28.42, 25.86, -54.09) |
| CIE-LCH | lch(28.42, 59.96, 295.56°) |
| OKLab | oklab(39.28% -0.0077 -0.1563) |
| OKLCH | oklch(39.28% 0.157 267.2) |
| XYZ | xyz(7.8058, 5.6156, 30.3722) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Cobalt
#0047AB
ΔE00 5.28
Blueberry
#464196
ΔE00 5.34
Cobalt (survey)
#1E488F
ΔE00 5.77
Darkish Blue
#014182
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213A98 #987F21
analogous
#217698 #213A98 #442198
triadic
#213A98 #98213A #3A9821
tetradic
#213A98 #982176 #987F21 #219844
square
#213A98 #982176 #987F21 #219844
split-complementary
#213A98 #984421 #769821
monochromatic
#0B1433 #162766 #213A98 #2C4DCA #5974DB
Accessibility & contrast
On white
9.89
#213A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#213A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213A98
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213A98 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213a98; /* rgb */ color: rgb(33, 58, 152); /* oklch */ color: oklch(39.3% 0.157 267.2);
Tailwind
colors: {
custom: {
50: '#706fb7',
500: '#213a98',
950: '#000000',
},
}SCSS
$custom: #213a98; $custom-light: #706fb7; $custom-dark: #000000;
JSON
{
"hex": "#213a98",
"rgb": {
"r": 33,
"g": 58,
"b": 152
},
"hsl": {
"h": 227.395,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.3928,
"c": 0.15652,
"h": 267.2
},
"luminance": 0.05616
}Semantic roles & 50–950 ramp
primary
#213A98
secondary
#BFA956
accent
#C440E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80