#213B98#213B98
#213B98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 266.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #213B98 |
|---|---|
| RGB | rgb(33, 59, 152) |
| HSL | hsl(227, 64%, 36%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(78.3%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.69, 25.19, -53.65) |
| CIE-LCH | lch(28.69, 59.27, 295.15°) |
| OKLab | oklab(39.48% -0.0084 -0.155) |
| OKLCH | oklch(39.48% 0.155 266.9) |
| XYZ | xyz(7.8567, 5.7174, 30.3892) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Cobalt
#0047AB
ΔE00 5.00
Blueberry
#464196
ΔE00 5.35
Cobalt (survey)
#1E488F
ΔE00 5.44
Darkish Blue
#014182
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B98 #987E21
analogous
#217798 #213B98 #432198
triadic
#213B98 #98213B #3B9821
tetradic
#213B98 #982177 #987E21 #219843
square
#213B98 #982177 #987E21 #219843
split-complementary
#213B98 #984321 #779821
monochromatic
#0B1433 #162766 #213B98 #2C4FCA #5975DB
Accessibility & contrast
On white
9.80
#213B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#213B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B98
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B98 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213b98; /* rgb */ color: rgb(33, 59, 152); /* oklch */ color: oklch(39.5% 0.155 266.9);
Tailwind
colors: {
custom: {
50: '#7070b7',
500: '#213b98',
950: '#000000',
},
}SCSS
$custom: #213b98; $custom-light: #7070b7; $custom-dark: #000000;
JSON
{
"hex": "#213b98",
"rgb": {
"r": 33,
"g": 59,
"b": 152
},
"hsl": {
"h": 226.891,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.39479,
"c": 0.15527,
"h": 266.9
},
"luminance": 0.05718
}Semantic roles & 50–950 ramp
primary
#213B98
secondary
#BFA856
accent
#C340E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80