#213F8B#213F8B
#213F8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.132 H 264.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #213F8B |
|---|---|
| RGB | rgb(33, 63, 139) |
| HSL | hsl(223, 62%, 34%) |
| HSV | hsv(223, 76%, 55%) |
| CMYK | cmyk(76.3%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(28.75, 17.32, -45.57) |
| CIE-LCH | lch(28.75, 48.75, 290.81°) |
| OKLab | oklab(39.2% -0.0121 -0.1312) |
| OKLCH | oklch(39.2% 0.132 264.7) |
| XYZ | xyz(7.0633, 5.7417, 25.1571) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.37
Darkish Blue
#014182
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.97
Twilight Blue
#0A437A
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.93
Marine Blue
#01386A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F8B #8B6D21
analogous
#21748B #213F8B #38218B
triadic
#213F8B #8B213F #3F8B21
tetradic
#213F8B #8B2174 #8B6D21 #218B38
square
#213F8B #8B2174 #8B6D21 #218B38
split-complementary
#213F8B #8B3821 #748B21
monochromatic
#0A1228 #15295A #213F8B #2D55BC #5176D6
Accessibility & contrast
On white
9.77
#213F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#213F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F8B
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F8B | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213f8b; /* rgb */ color: rgb(33, 63, 139); /* oklch */ color: oklch(39.2% 0.132 264.7);
Tailwind
colors: {
custom: {
50: '#6c73ad',
500: '#213f8b',
950: '#000000',
},
}SCSS
$custom: #213f8b; $custom-light: #6c73ad; $custom-dark: #000000;
JSON
{
"hex": "#213f8b",
"rgb": {
"r": 33,
"g": 63,
"b": 139
},
"hsl": {
"h": 223.019,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.39197,
"c": 0.13177,
"h": 264.7
},
"luminance": 0.05742
}Semantic roles & 50–950 ramp
primary
#213F8B
secondary
#B99B4F
accent
#B743E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F