#213B8A#213B8A
#213B8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.136 H 266.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #213B8A |
|---|---|
| RGB | rgb(33, 59, 138) |
| HSL | hsl(225, 61%, 34%) |
| HSV | hsv(225, 76%, 54%) |
| CMYK | cmyk(76.1%, 57.2%, 0%, 45.9%) |
| CIE-LAB | lab(27.53, 19.69, -46.92) |
| CIE-LCH | lch(27.53, 50.89, 292.76°) |
| OKLab | oklab(38.25% -0.0089 -0.1353) |
| OKLCH | oklch(38.25% 0.136 266.2) |
| XYZ | xyz(6.7770, 5.2855, 24.7029) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.76
Darkish Blue
#014182
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.86
Blueberry
#464196
ΔE00 6.00
Twilight Blue
#0A437A
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B8A #8A7021
analogous
#216F8A #213B8A #3B218A
triadic
#213B8A #8A213B #3B8A21
tetradic
#213B8A #8A216F #8A7021 #218A3B
square
#213B8A #8A216F #8A7021 #218A3B
split-complementary
#213B8A #8A3B21 #6F8A21
monochromatic
#091127 #152659 #213B8A #2D50BB #5071D5
Accessibility & contrast
On white
10.21
#213B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#213B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B8A
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B8A | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #213b8a; /* rgb */ color: rgb(33, 59, 138); /* oklch */ color: oklch(38.3% 0.136 266.2);
Tailwind
colors: {
custom: {
50: '#6c70ad',
500: '#213b8a',
950: '#000000',
},
}SCSS
$custom: #213b8a; $custom-light: #6c70ad; $custom-dark: #000000;
JSON
{
"hex": "#213b8a",
"rgb": {
"r": 33,
"g": 59,
"b": 138
},
"hsl": {
"h": 225.143,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.38253,
"c": 0.13556,
"h": 266.2
},
"luminance": 0.05286
}Semantic roles & 50–950 ramp
primary
#213B8A
secondary
#B99E4E
accent
#BD43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F