#213C9B#213C9B
#213C9B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.158 H 266.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #213C9B |
|---|---|
| RGB | rgb(33, 60, 155) |
| HSL | hsl(227, 65%, 37%) |
| HSV | hsv(227, 79%, 61%) |
| CMYK | cmyk(78.7%, 61.3%, 0%, 39.2%) |
| CIE-LAB | lab(29.21, 25.67, -54.63) |
| CIE-LCH | lch(29.21, 60.36, 295.17°) |
| OKLab | oklab(39.95% -0.0091 -0.1579) |
| OKLCH | oklch(39.95% 0.158 266.7) |
| XYZ | xyz(8.1574, 5.9207, 31.7169) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.95
Cobalt
#0047AB
ΔE00 4.62
Blueberry
#464196
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 6.22
Darkish Blue
#014182
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C9B #9B8021
analogous
#21799B #213C9B #43219B
triadic
#213C9B #9B213C #3C9B21
tetradic
#213C9B #9B2179 #9B8021 #219B43
square
#213C9B #9B2179 #9B8021 #219B43
split-complementary
#213C9B #9B4321 #799B21
monochromatic
#0C1536 #162869 #213C9B #2C50CD #5A77DC
Accessibility & contrast
On white
9.61
#213C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#213C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C9B
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C9B | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213c9b; /* rgb */ color: rgb(33, 60, 155); /* oklch */ color: oklch(39.9% 0.158 266.7);
Tailwind
colors: {
custom: {
50: '#7171b9',
500: '#213c9b',
950: '#000000',
},
}SCSS
$custom: #213c9b; $custom-light: #7171b9; $custom-dark: #000000;
JSON
{
"hex": "#213c9b",
"rgb": {
"r": 33,
"g": 60,
"b": 155
},
"hsl": {
"h": 226.721,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39948,
"c": 0.15814,
"h": 266.7
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#213C9B
secondary
#C0A958
accent
#C340E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81