#213B9C#213B9C
#213B9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.161 H 267.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #213B9C |
|---|---|
| RGB | rgb(33, 59, 156) |
| HSL | hsl(227, 65%, 37%) |
| HSV | hsv(227, 79%, 61%) |
| CMYK | cmyk(78.8%, 62.2%, 0%, 38.8%) |
| CIE-LAB | lab(29.03, 26.74, -55.53) |
| CIE-LCH | lch(29.03, 61.63, 295.71°) |
| OKLab | oklab(39.84% -0.0084 -0.1605) |
| OKLCH | oklch(39.84% 0.161 267) |
| XYZ | xyz(8.1898, 5.8506, 32.1437) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.61
Cobalt
#0047AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.32
Cobalt (survey)
#1E488F
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 6.12
Darkish Blue
#014182
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B9C #9C8221
analogous
#21799C #213B9C #45219C
triadic
#213B9C #9C213B #3B9C21
tetradic
#213B9C #9C2179 #9C8221 #219C45
square
#213B9C #9C2179 #9C8221 #219C45
split-complementary
#213B9C #9C4521 #799C21
monochromatic
#0C1537 #162869 #213B9C #2C4ECF #5B76DC
Accessibility & contrast
On white
9.68
#213B9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#213B9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B9C
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B9C | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213b9c; /* rgb */ color: rgb(33, 59, 156); /* oklch */ color: oklch(39.8% 0.161 267.0);
Tailwind
colors: {
custom: {
50: '#7170ba',
500: '#213b9c',
950: '#000000',
},
}SCSS
$custom: #213b9c; $custom-light: #7170ba; $custom-dark: #000000;
JSON
{
"hex": "#213b9c",
"rgb": {
"r": 33,
"g": 59,
"b": 156
},
"hsl": {
"h": 227.317,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39842,
"c": 0.16076,
"h": 267
},
"luminance": 0.05852
}Semantic roles & 50–950 ramp
primary
#213B9C
secondary
#C1AB58
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81