#213D9D#213D9D
#213D9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.160 H 266.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #213D9D |
|---|---|
| RGB | rgb(33, 61, 157) |
| HSL | hsl(226, 65%, 37%) |
| HSV | hsv(226, 79%, 62%) |
| CMYK | cmyk(79%, 61.1%, 0%, 38.4%) |
| CIE-LAB | lab(29.65, 25.77, -55.13) |
| CIE-LCH | lch(29.65, 60.86, 295.06°) |
| OKLab | oklab(40.33% -0.0097 -0.1593) |
| OKLCH | oklch(40.33% 0.16 266.5) |
| XYZ | xyz(8.3796, 6.0942, 32.6264) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Cobalt
#0047AB
ΔE00 4.28
Cobalt (survey)
#1E488F
ΔE00 5.18
Blueberry
#464196
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.91
Darkish Blue
#014182
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D9D #9D8121
analogous
#217B9D #213D9D #43219D
triadic
#213D9D #9D213D #3D9D21
tetradic
#213D9D #9D217B #9D8121 #219D43
square
#213D9D #9D217B #9D8121 #219D43
split-complementary
#213D9D #9D4321 #7B9D21
monochromatic
#0C1638 #16296A #213D9D #2C51D0 #5C79DD
Accessibility & contrast
On white
9.46
#213D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#213D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D9D
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D9D | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213d9d; /* rgb */ color: rgb(33, 61, 157); /* oklch */ color: oklch(40.3% 0.160 266.5);
Tailwind
colors: {
custom: {
50: '#7172bb',
500: '#213d9d',
950: '#000000',
},
}SCSS
$custom: #213d9d; $custom-light: #7172bb; $custom-dark: #000000;
JSON
{
"hex": "#213d9d",
"rgb": {
"r": 33,
"g": 61,
"b": 157
},
"hsl": {
"h": 226.452,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.40327,
"c": 0.15963,
"h": 266.5
},
"luminance": 0.06095
}Semantic roles & 50–950 ramp
primary
#213D9D
secondary
#C1A959
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81