#213B8B#213B8B
#213B8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.137 H 266.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #213B8B |
|---|---|
| RGB | rgb(33, 59, 139) |
| HSL | hsl(225, 62%, 34%) |
| HSV | hsv(225, 76%, 55%) |
| CMYK | cmyk(76.3%, 57.6%, 0%, 45.5%) |
| CIE-LAB | lab(27.61, 20.09, -47.41) |
| CIE-LCH | lch(27.61, 51.49, 292.96°) |
| OKLab | oklab(38.34% -0.0089 -0.1367) |
| OKLCH | oklch(38.34% 0.137 266.3) |
| XYZ | xyz(6.8497, 5.3146, 25.0859) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.79
Darkish Blue
#014182
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.78
Blueberry
#464196
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B8B #8B7121
analogous
#21708B #213B8B #3C218B
triadic
#213B8B #8B213B #3B8B21
tetradic
#213B8B #8B2170 #8B7121 #218B3C
square
#213B8B #8B2170 #8B7121 #218B3C
split-complementary
#213B8B #8B3C21 #708B21
monochromatic
#0A1128 #15265A #213B8B #2D50BC #5171D6
Accessibility & contrast
On white
10.18
#213B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#213B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B8B
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B8B | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #213b8b; /* rgb */ color: rgb(33, 59, 139); /* oklch */ color: oklch(38.3% 0.137 266.3);
Tailwind
colors: {
custom: {
50: '#6d70ae',
500: '#213b8b',
950: '#000000',
},
}SCSS
$custom: #213b8b; $custom-light: #6d70ae; $custom-dark: #000000;
JSON
{
"hex": "#213b8b",
"rgb": {
"r": 33,
"g": 59,
"b": 139
},
"hsl": {
"h": 225.283,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.38338,
"c": 0.137,
"h": 266.3
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#213B8B
secondary
#B99F4F
accent
#BD43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F