#213297#213297
#213297 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 269.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #213297 |
|---|---|
| RGB | rgb(33, 50, 151) |
| HSL | hsl(231, 64%, 36%) |
| HSV | hsv(231, 78%, 59%) |
| CMYK | cmyk(78.1%, 66.9%, 0%, 40.8%) |
| CIE-LAB | lab(26.27, 30.85, -57.00) |
| CIE-LCH | lch(26.27, 64.81, 298.42°) |
| OKLab | oklab(37.67% -0.0027 -0.1649) |
| OKLCH | oklch(37.67% 0.165 269.1) |
| XYZ | xyz(7.3518, 4.8381, 29.8185) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Blueberry
#464196
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.61
Royal
#0C1793
ΔE00 6.79
Cobalt
#0047AB
ΔE00 7.60
Blue Blue
#2242C7
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213297 #978621
analogous
#216D97 #213297 #4B2197
triadic
#213297 #972132 #329721
tetradic
#213297 #97216D #978621 #21974B
square
#213297 #97216D #978621 #21974B
split-complementary
#213297 #974B21 #6D9721
monochromatic
#0B1133 #162165 #213297 #2C43C9 #586BDA
Accessibility & contrast
On white
10.67
#213297 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#213297 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213297
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213297 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #213297; /* rgb */ color: rgb(33, 50, 151); /* oklch */ color: oklch(37.7% 0.165 269.1);
Tailwind
colors: {
custom: {
50: '#706ab7',
500: '#213297',
950: '#000000',
},
}SCSS
$custom: #213297; $custom-light: #706ab7; $custom-dark: #000000;
JSON
{
"hex": "#213297",
"rgb": {
"r": 33,
"g": 50,
"b": 151
},
"hsl": {
"h": 231.356,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.37665,
"c": 0.16496,
"h": 269.1
},
"luminance": 0.04839
}Semantic roles & 50–950 ramp
primary
#213297
secondary
#BEAF55
accent
#CF41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80