#213188#213188
#213188 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.146 H 269.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #213188 |
|---|---|
| RGB | rgb(33, 49, 136) |
| HSL | hsl(231, 61%, 33%) |
| HSV | hsv(231, 76%, 53%) |
| CMYK | cmyk(75.7%, 64%, 0%, 46.7%) |
| CIE-LAB | lab(24.63, 25.80, -50.41) |
| CIE-LCH | lch(24.63, 56.63, 297.10°) |
| OKLab | oklab(36.04% -0.0014 -0.1457) |
| OKLCH | oklch(36.04% 0.146 269.5) |
| XYZ | xyz(6.1679, 4.2969, 23.7921) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 6.45
Blueberry
#464196
ΔE00 6.46
Midnight Blue
#191970
ΔE00 7.17
Royal
#0C1793
ΔE00 7.26
Marine
#042E60
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213188 #887821
analogous
#216488 #213188 #452188
triadic
#213188 #882131 #318821
tetradic
#213188 #882164 #887821 #218845
square
#213188 #882164 #887821 #218845
split-complementary
#213188 #884521 #648821
monochromatic
#090E25 #151F57 #213188 #2D43B9 #4F64D4
Accessibility & contrast
On white
11.29
#213188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#213188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213188
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213188 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #213188; /* rgb */ color: rgb(33, 49, 136); /* oklch */ color: oklch(36.0% 0.146 269.5);
Tailwind
colors: {
custom: {
50: '#6d69ac',
500: '#213188',
950: '#000000',
},
}SCSS
$custom: #213188; $custom-light: #6d69ac; $custom-dark: #000000;
JSON
{
"hex": "#213188",
"rgb": {
"r": 33,
"g": 49,
"b": 136
},
"hsl": {
"h": 230.68,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.36035,
"c": 0.14567,
"h": 269.5
},
"luminance": 0.04298
}Semantic roles & 50–950 ramp
primary
#213188
secondary
#B8A74D
accent
#CB44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F