#213C99#213C99
#213C99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.155 H 266.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #213C99 |
|---|---|
| RGB | rgb(33, 60, 153) |
| HSL | hsl(227, 65%, 36%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(78.4%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(29.04, 24.89, -53.69) |
| CIE-LCH | lch(29.04, 59.18, 294.88°) |
| OKLab | oklab(39.77% -0.0091 -0.1551) |
| OKLCH | oklch(39.77% 0.155 266.6) |
| XYZ | xyz(7.9908, 5.8541, 30.8396) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Cobalt
#0047AB
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 5.18
Blueberry
#464196
ΔE00 5.35
Darkish Blue
#014182
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C99 #997E21
analogous
#217899 #213C99 #422199
triadic
#213C99 #99213C #3C9921
tetradic
#213C99 #992178 #997E21 #219942
square
#213C99 #992178 #997E21 #219942
split-complementary
#213C99 #994221 #789921
monochromatic
#0B1534 #162867 #213C99 #2C50CB #5976DB
Accessibility & contrast
On white
9.67
#213C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#213C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C99
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C99 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213c99; /* rgb */ color: rgb(33, 60, 153); /* oklch */ color: oklch(39.8% 0.155 266.6);
Tailwind
colors: {
custom: {
50: '#7071b8',
500: '#213c99',
950: '#000000',
},
}SCSS
$custom: #213c99; $custom-light: #7071b8; $custom-dark: #000000;
JSON
{
"hex": "#213c99",
"rgb": {
"r": 33,
"g": 60,
"b": 153
},
"hsl": {
"h": 226.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.39768,
"c": 0.1554,
"h": 266.6
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#213C99
secondary
#BFA856
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80