#213399#213399
#213399 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.166 H 268.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #213399 |
|---|---|
| RGB | rgb(33, 51, 153) |
| HSL | hsl(231, 65%, 36%) |
| HSV | hsv(231, 78%, 60%) |
| CMYK | cmyk(78.4%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(26.71, 30.94, -57.51) |
| CIE-LCH | lch(26.71, 65.30, 298.28°) |
| OKLab | oklab(38.04% -0.0034 -0.1664) |
| OKLCH | oklch(38.04% 0.166 268.8) |
| XYZ | xyz(7.5588, 4.9900, 30.6956) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blueberry
#464196
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.61
Royal
#0C1793
ΔE00 7.06
Cobalt
#0047AB
ΔE00 7.27
Blue Blue
#2242C7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213399 #998721
analogous
#216F99 #213399 #4B2199
triadic
#213399 #992133 #339921
tetradic
#213399 #99216F #998721 #21994B
square
#213399 #99216F #998721 #21994B
split-complementary
#213399 #994B21 #6F9921
monochromatic
#0B1134 #162267 #213399 #2C44CB #596DDB
Accessibility & contrast
On white
10.51
#213399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#213399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213399
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213399 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #213399; /* rgb */ color: rgb(33, 51, 153); /* oklch */ color: oklch(38.0% 0.166 268.8);
Tailwind
colors: {
custom: {
50: '#716ab8',
500: '#213399',
950: '#000000',
},
}SCSS
$custom: #213399; $custom-light: #716ab8; $custom-dark: #000000;
JSON
{
"hex": "#213399",
"rgb": {
"r": 33,
"g": 51,
"b": 153
},
"hsl": {
"h": 231,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.38043,
"c": 0.16645,
"h": 268.8
},
"luminance": 0.04991
}Semantic roles & 50–950 ramp
primary
#213399
secondary
#BFB056
accent
#CE40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80