#213E99#213E99
#213E99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.153 H 266.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #213E99 |
|---|---|
| RGB | rgb(33, 62, 153) |
| HSL | hsl(226, 65%, 36%) |
| HSV | hsv(226, 78%, 60%) |
| CMYK | cmyk(78.4%, 59.5%, 0%, 40%) |
| CIE-LAB | lab(29.58, 23.53, -52.80) |
| CIE-LCH | lch(29.58, 57.81, 294.02°) |
| OKLab | oklab(40.17% -0.0105 -0.1525) |
| OKLCH | oklch(40.17% 0.153 266.1) |
| XYZ | xyz(8.0976, 6.0676, 30.8752) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.13
Cobalt (survey)
#1E488F
ΔE00 4.52
Blueberry
#464196
ΔE00 5.47
Darkish Blue
#014182
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E99 #997C21
analogous
#217A99 #213E99 #402199
triadic
#213E99 #99213E #3E9921
tetradic
#213E99 #99217A #997C21 #219940
square
#213E99 #99217A #997C21 #219940
split-complementary
#213E99 #994021 #7A9921
monochromatic
#0B1534 #162A67 #213E99 #2C52CB #5979DB
Accessibility & contrast
On white
9.49
#213E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#213E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E99
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E99 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213e99; /* rgb */ color: rgb(33, 62, 153); /* oklch */ color: oklch(40.2% 0.153 266.1);
Tailwind
colors: {
custom: {
50: '#7072b8',
500: '#213e99',
950: '#000000',
},
}SCSS
$custom: #213e99; $custom-light: #7072b8; $custom-dark: #000000;
JSON
{
"hex": "#213e99",
"rgb": {
"r": 33,
"g": 62,
"b": 153
},
"hsl": {
"h": 225.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.40173,
"c": 0.15287,
"h": 266.1
},
"luminance": 0.06068
}Semantic roles & 50–950 ramp
primary
#213E99
secondary
#BFA656
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80