#213E98#213E98
#213E98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.151 H 266.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #213E98 |
|---|---|
| RGB | rgb(33, 62, 152) |
| HSL | hsl(225, 64%, 36%) |
| HSV | hsv(225, 78%, 60%) |
| CMYK | cmyk(78.3%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.50, 23.14, -52.33) |
| CIE-LCH | lch(29.50, 57.22, 293.86°) |
| OKLab | oklab(40.09% -0.0105 -0.1511) |
| OKLCH | oklch(40.09% 0.151 266) |
| XYZ | xyz(8.0153, 6.0347, 30.4420) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.18
Cobalt (survey)
#1E488F
ΔE00 4.44
Blueberry
#464196
ΔE00 5.49
Darkish Blue
#014182
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E98 #987B21
analogous
#217A98 #213E98 #402198
triadic
#213E98 #98213E #3E9821
tetradic
#213E98 #98217A #987B21 #219840
square
#213E98 #98217A #987B21 #219840
split-complementary
#213E98 #984021 #7A9821
monochromatic
#0B1533 #162966 #213E98 #2C53CA #5978DB
Accessibility & contrast
On white
9.51
#213E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#213E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E98
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E98 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213e98; /* rgb */ color: rgb(33, 62, 152); /* oklch */ color: oklch(40.1% 0.151 266.0);
Tailwind
colors: {
custom: {
50: '#7072b7',
500: '#213e98',
950: '#000000',
},
}SCSS
$custom: #213e98; $custom-light: #7072b7; $custom-dark: #000000;
JSON
{
"hex": "#213e98",
"rgb": {
"r": 33,
"g": 62,
"b": 152
},
"hsl": {
"h": 225.378,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.40085,
"c": 0.15147,
"h": 266
},
"luminance": 0.06036
}Semantic roles & 50–950 ramp
primary
#213E98
secondary
#BFA556
accent
#BF40E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80