#213298#213298
#213298 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.166 H 269.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #213298 |
|---|---|
| RGB | rgb(33, 50, 152) |
| HSL | hsl(231, 64%, 36%) |
| HSV | hsv(231, 78%, 60%) |
| CMYK | cmyk(78.3%, 67.1%, 0%, 40.4%) |
| CIE-LAB | lab(26.36, 31.22, -57.46) |
| CIE-LCH | lch(26.36, 65.39, 298.52°) |
| OKLab | oklab(37.76% -0.0028 -0.1663) |
| OKLCH | oklch(37.76% 0.166 269) |
| XYZ | xyz(7.4333, 4.8707, 30.2481) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.65
Royal
#0C1793
ΔE00 6.77
Blue Blue
#2242C7
ΔE00 7.57
Cobalt
#0047AB
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213298 #988721
analogous
#216E98 #213298 #4C2198
triadic
#213298 #982132 #329821
tetradic
#213298 #98216E #988721 #21984C
square
#213298 #98216E #988721 #21984C
split-complementary
#213298 #984C21 #6E9821
monochromatic
#0B1133 #162166 #213298 #2C43CA #596BDB
Accessibility & contrast
On white
10.64
#213298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#213298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213298
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213298 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #213298; /* rgb */ color: rgb(33, 50, 152); /* oklch */ color: oklch(37.8% 0.166 269.0);
Tailwind
colors: {
custom: {
50: '#716ab7',
500: '#213298',
950: '#000000',
},
}SCSS
$custom: #213298; $custom-light: #716ab7; $custom-dark: #000000;
JSON
{
"hex": "#213298",
"rgb": {
"r": 33,
"g": 50,
"b": 152
},
"hsl": {
"h": 231.429,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.37763,
"c": 0.1663,
"h": 269
},
"luminance": 0.04872
}Semantic roles & 50–950 ramp
primary
#213298
secondary
#BFB056
accent
#CF40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80