#213397#213397
#213397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.164 H 268.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #213397 |
|---|---|
| RGB | rgb(33, 51, 151) |
| HSL | hsl(231, 64%, 36%) |
| HSV | hsv(231, 78%, 59%) |
| CMYK | cmyk(78.1%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.52, 30.18, -56.59) |
| CIE-LCH | lch(26.52, 64.14, 298.07°) |
| OKLab | oklab(37.85% -0.0033 -0.1637) |
| OKLCH | oklch(37.85% 0.164 268.8) |
| XYZ | xyz(7.3950, 4.9245, 29.8329) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.53
Royal
#0C1793
ΔE00 7.10
Cobalt
#0047AB
ΔE00 7.31
Blue Blue
#2242C7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213397 #978521
analogous
#216E97 #213397 #4A2197
triadic
#213397 #972133 #339721
tetradic
#213397 #97216E #978521 #21974A
square
#213397 #97216E #978521 #21974A
split-complementary
#213397 #974A21 #6E9721
monochromatic
#0B1133 #162265 #213397 #2C44C9 #586CDA
Accessibility & contrast
On white
10.58
#213397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#213397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213397
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213397 | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #213397; /* rgb */ color: rgb(33, 51, 151); /* oklch */ color: oklch(37.8% 0.164 268.8);
Tailwind
colors: {
custom: {
50: '#706ab7',
500: '#213397',
950: '#000000',
},
}SCSS
$custom: #213397; $custom-light: #706ab7; $custom-dark: #000000;
JSON
{
"hex": "#213397",
"rgb": {
"r": 33,
"g": 51,
"b": 151
},
"hsl": {
"h": 230.847,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.37848,
"c": 0.16377,
"h": 268.8
},
"luminance": 0.04925
}Semantic roles & 50–950 ramp
primary
#213397
secondary
#BEAE55
accent
#CE41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80