#213189#213189
#213189 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.147 H 269.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #213189 |
|---|---|
| RGB | rgb(33, 49, 137) |
| HSL | hsl(231, 61%, 33%) |
| HSV | hsv(231, 76%, 54%) |
| CMYK | cmyk(75.9%, 64.2%, 0%, 46.3%) |
| CIE-LAB | lab(24.72, 26.18, -50.89) |
| CIE-LCH | lch(24.72, 57.23, 297.23°) |
| OKLab | oklab(36.13% -0.0014 -0.147) |
| OKLCH | oklch(36.13% 0.147 269.5) |
| XYZ | xyz(6.2393, 4.3254, 24.1681) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.11
Blueberry
#464196
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.44
Royal
#0C1793
ΔE00 7.18
Midnight Blue
#191970
ΔE00 7.21
Marine
#042E60
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213189 #897921
analogous
#216589 #213189 #452189
triadic
#213189 #892131 #318921
tetradic
#213189 #892165 #897921 #218945
square
#213189 #892165 #897921 #218945
split-complementary
#213189 #894521 #658921
monochromatic
#090E26 #151F58 #213189 #2D43BA #5064D5
Accessibility & contrast
On white
11.26
#213189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#213189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213189
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213189 | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #213189; /* rgb */ color: rgb(33, 49, 137); /* oklch */ color: oklch(36.1% 0.147 269.5);
Tailwind
colors: {
custom: {
50: '#6d69ac',
500: '#213189',
950: '#000000',
},
}SCSS
$custom: #213189; $custom-light: #6d69ac; $custom-dark: #000000;
JSON
{
"hex": "#213189",
"rgb": {
"r": 33,
"g": 49,
"b": 137
},
"hsl": {
"h": 230.769,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.36129,
"c": 0.14706,
"h": 269.5
},
"luminance": 0.04326
}Semantic roles & 50–950 ramp
primary
#213189
secondary
#B8A84E
accent
#CC44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F