#213D9C#213D9C
#213D9C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.158 H 266.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #213D9C |
|---|---|
| RGB | rgb(33, 61, 156) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 61%) |
| CMYK | cmyk(78.8%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(29.56, 25.38, -54.66) |
| CIE-LCH | lch(29.56, 60.27, 294.91°) |
| OKLab | oklab(40.24% -0.0097 -0.158) |
| OKLCH | oklch(40.24% 0.158 266.5) |
| XYZ | xyz(8.2946, 6.0602, 32.1786) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Cobalt
#0047AB
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 5.10
Blueberry
#464196
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 6.05
Darkish Blue
#014182
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D9C #9C8021
analogous
#217B9C #213D9C #42219C
triadic
#213D9C #9C213D #3D9C21
tetradic
#213D9C #9C217B #9C8021 #219C42
square
#213D9C #9C217B #9C8021 #219C42
split-complementary
#213D9C #9C4221 #7B9C21
monochromatic
#0C1537 #162969 #213D9C #2C51CF #5B79DC
Accessibility & contrast
On white
9.49
#213D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#213D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D9C
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D9C | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213d9c; /* rgb */ color: rgb(33, 61, 156); /* oklch */ color: oklch(40.2% 0.158 266.5);
Tailwind
colors: {
custom: {
50: '#7172ba',
500: '#213d9c',
950: '#000000',
},
}SCSS
$custom: #213d9c; $custom-light: #7172ba; $custom-dark: #000000;
JSON
{
"hex": "#213d9c",
"rgb": {
"r": 33,
"g": 61,
"b": 156
},
"hsl": {
"h": 226.341,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.40237,
"c": 0.15827,
"h": 266.5
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#213D9C
secondary
#C1A958
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81