#213E9B#213E9B
#213E9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.156 H 266.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #213E9B |
|---|---|
| RGB | rgb(33, 62, 155) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 61%) |
| CMYK | cmyk(78.7%, 60%, 0%, 39.2%) |
| CIE-LAB | lab(29.75, 24.32, -53.75) |
| CIE-LCH | lch(29.75, 59.00, 294.34°) |
| OKLab | oklab(40.35% -0.0104 -0.1553) |
| OKLCH | oklch(40.35% 0.156 266.2) |
| XYZ | xyz(8.2641, 6.1342, 31.7525) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.41
Cobalt
#0047AB
ΔE00 4.05
Cobalt (survey)
#1E488F
ΔE00 4.69
Blueberry
#464196
ΔE00 5.43
Darkish Blue
#014182
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E9B #9B7E21
analogous
#217B9B #213E9B #41219B
triadic
#213E9B #9B213E #3E9B21
tetradic
#213E9B #9B217B #9B7E21 #219B41
square
#213E9B #9B217B #9B7E21 #219B41
split-complementary
#213E9B #9B4121 #7B9B21
monochromatic
#0C1636 #162A69 #213E9B #2C52CD #5A79DC
Accessibility & contrast
On white
9.43
#213E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#213E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E9B
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E9B | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213e9b; /* rgb */ color: rgb(33, 62, 155); /* oklch */ color: oklch(40.3% 0.156 266.2);
Tailwind
colors: {
custom: {
50: '#7072b9',
500: '#213e9b',
950: '#000000',
},
}SCSS
$custom: #213e9b; $custom-light: #7072b9; $custom-dark: #000000;
JSON
{
"hex": "#213e9b",
"rgb": {
"r": 33,
"g": 62,
"b": 155
},
"hsl": {
"h": 225.738,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.40349,
"c": 0.15563,
"h": 266.2
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#213E9B
secondary
#C0A758
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81