#213B8F#213B8F
#213B8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.143 H 266.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #213B8F |
|---|---|
| RGB | rgb(33, 59, 143) |
| HSL | hsl(226, 63%, 35%) |
| HSV | hsv(226, 77%, 56%) |
| CMYK | cmyk(76.9%, 58.7%, 0%, 43.9%) |
| CIE-LAB | lab(27.94, 21.66, -49.36) |
| CIE-LCH | lch(27.94, 53.90, 293.70°) |
| OKLab | oklab(38.68% -0.0087 -0.1424) |
| OKLCH | oklch(38.68% 0.143 266.5) |
| XYZ | xyz(7.1474, 5.4336, 26.6534) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 4.92
Darkish Blue
#014182
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.48
Blueberry
#464196
ΔE00 5.67
Twilight Blue
#0A437A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B8F #8F7521
analogous
#21728F #213B8F #3E218F
triadic
#213B8F #8F213B #3B8F21
tetradic
#213B8F #8F2172 #8F7521 #218F3E
square
#213B8F #8F2172 #8F7521 #218F3E
split-complementary
#213B8F #8F3E21 #728F21
monochromatic
#0A122C #16265D #213B8F #2C50C1 #5372D7
Accessibility & contrast
On white
10.06
#213B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#213B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B8F
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B8F | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213b8f; /* rgb */ color: rgb(33, 59, 143); /* oklch */ color: oklch(38.7% 0.143 266.5);
Tailwind
colors: {
custom: {
50: '#6e70b0',
500: '#213b8f',
950: '#000000',
},
}SCSS
$custom: #213b8f; $custom-light: #6e70b0; $custom-dark: #000000;
JSON
{
"hex": "#213b8f",
"rgb": {
"r": 33,
"g": 59,
"b": 143
},
"hsl": {
"h": 225.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.38682,
"c": 0.14269,
"h": 266.5
},
"luminance": 0.05434
}Semantic roles & 50–950 ramp
primary
#213B8F
secondary
#BBA251
accent
#BF42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80