#213D8B#213D8B
#213D8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.134 H 265.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #213D8B |
|---|---|
| RGB | rgb(33, 61, 139) |
| HSL | hsl(224, 62%, 34%) |
| HSV | hsv(224, 76%, 55%) |
| CMYK | cmyk(76.3%, 56.1%, 0%, 45.5%) |
| CIE-LAB | lab(28.18, 18.70, -46.50) |
| CIE-LCH | lch(28.18, 50.12, 291.91°) |
| OKLab | oklab(38.76% -0.0105 -0.134) |
| OKLCH | oklch(38.76% 0.134 265.5) |
| XYZ | xyz(6.9545, 5.5241, 25.1208) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.08
Darkish Blue
#014182
ΔE00 4.47
Cobalt
#0047AB
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.54
Twilight Blue
#0A437A
ΔE00 5.57
Blueberry
#464196
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D8B #8B6F21
analogous
#21728B #213D8B #3A218B
triadic
#213D8B #8B213D #3D8B21
tetradic
#213D8B #8B2172 #8B6F21 #218B3A
square
#213D8B #8B2172 #8B6F21 #218B3A
split-complementary
#213D8B #8B3A21 #728B21
monochromatic
#0A1228 #15275A #213D8B #2D53BC #5174D6
Accessibility & contrast
On white
9.98
#213D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#213D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D8B
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D8B | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213d8b; /* rgb */ color: rgb(33, 61, 139); /* oklch */ color: oklch(38.8% 0.134 265.5);
Tailwind
colors: {
custom: {
50: '#6c72ad',
500: '#213d8b',
950: '#000000',
},
}SCSS
$custom: #213d8b; $custom-light: #6c72ad; $custom-dark: #000000;
JSON
{
"hex": "#213d8b",
"rgb": {
"r": 33,
"g": 61,
"b": 139
},
"hsl": {
"h": 224.151,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.38764,
"c": 0.13439,
"h": 265.5
},
"luminance": 0.05525
}Semantic roles & 50–950 ramp
primary
#213D8B
secondary
#B99D4F
accent
#BA43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F