#213398#213398
#213398 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.165 H 268.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #213398 |
|---|---|
| RGB | rgb(33, 51, 152) |
| HSL | hsl(231, 64%, 36%) |
| HSV | hsv(231, 78%, 60%) |
| CMYK | cmyk(78.3%, 66.4%, 0%, 40.4%) |
| CIE-LAB | lab(26.61, 30.56, -57.05) |
| CIE-LCH | lch(26.61, 64.72, 298.18°) |
| OKLab | oklab(37.95% -0.0033 -0.1651) |
| OKLCH | oklch(37.95% 0.165 268.8) |
| XYZ | xyz(7.4766, 4.9572, 30.2625) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.57
Royal
#0C1793
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.29
Blue Blue
#2242C7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213398 #988621
analogous
#216F98 #213398 #4B2198
triadic
#213398 #982133 #339821
tetradic
#213398 #98216F #988621 #21984B
square
#213398 #98216F #988621 #21984B
split-complementary
#213398 #984B21 #6F9821
monochromatic
#0B1133 #162266 #213398 #2C44CA #596CDB
Accessibility & contrast
On white
10.54
#213398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#213398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213398
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213398 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #213398; /* rgb */ color: rgb(33, 51, 152); /* oklch */ color: oklch(37.9% 0.165 268.8);
Tailwind
colors: {
custom: {
50: '#716ab7',
500: '#213398',
950: '#000000',
},
}SCSS
$custom: #213398; $custom-light: #716ab7; $custom-dark: #000000;
JSON
{
"hex": "#213398",
"rgb": {
"r": 33,
"g": 51,
"b": 152
},
"hsl": {
"h": 230.924,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.37945,
"c": 0.16511,
"h": 268.8
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#213398
secondary
#BFAF56
accent
#CE40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80