#213498#213498
#213498 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.164 H 268.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #213498 |
|---|---|
| RGB | rgb(33, 52, 152) |
| HSL | hsl(230, 64%, 36%) |
| HSV | hsv(230, 78%, 60%) |
| CMYK | cmyk(78.3%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(26.86, 29.90, -56.64) |
| CIE-LCH | lch(26.86, 64.04, 297.83°) |
| OKLab | oklab(38.13% -0.004 -0.1639) |
| OKLCH | oklch(38.13% 0.164 268.6) |
| XYZ | xyz(7.5207, 5.0455, 30.2772) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.51
Cobalt
#0047AB
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.30
Royal
#0C1793
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213498 #988521
analogous
#217098 #213498 #4A2198
triadic
#213498 #982134 #349821
tetradic
#213498 #982170 #988521 #21984A
square
#213498 #982170 #988521 #21984A
split-complementary
#213498 #984A21 #709821
monochromatic
#0B1233 #162366 #213498 #2C45CA #596DDB
Accessibility & contrast
On white
10.45
#213498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#213498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213498
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213498 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #213498; /* rgb */ color: rgb(33, 52, 152); /* oklch */ color: oklch(38.1% 0.164 268.6);
Tailwind
colors: {
custom: {
50: '#716bb7',
500: '#213498',
950: '#000000',
},
}SCSS
$custom: #213498; $custom-light: #716bb7; $custom-dark: #000000;
JSON
{
"hex": "#213498",
"rgb": {
"r": 33,
"g": 52,
"b": 152
},
"hsl": {
"h": 230.42,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.3813,
"c": 0.16391,
"h": 268.6
},
"luminance": 0.05046
}Semantic roles & 50–950 ramp
primary
#213498
secondary
#BFAE56
accent
#CD40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80