#213E8A#213E8A
#213E8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.132 H 265.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #213E8A |
|---|---|
| RGB | rgb(33, 62, 138) |
| HSL | hsl(223, 61%, 34%) |
| HSV | hsv(223, 76%, 54%) |
| CMYK | cmyk(76.1%, 55.1%, 0%, 45.9%) |
| CIE-LAB | lab(28.39, 17.61, -45.54) |
| CIE-LCH | lch(28.39, 48.83, 291.15°) |
| OKLab | oklab(38.9% -0.0114 -0.1311) |
| OKLCH | oklch(38.9% 0.132 265) |
| XYZ | xyz(6.9357, 5.6028, 24.7558) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.70
Darkish Blue
#014182
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.88
Marine Blue
#01386A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E8A #8A6D21
analogous
#21728A #213E8A #38218A
triadic
#213E8A #8A213E #3E8A21
tetradic
#213E8A #8A2172 #8A6D21 #218A38
square
#213E8A #8A2172 #8A6D21 #218A38
split-complementary
#213E8A #8A3821 #728A21
monochromatic
#091227 #152859 #213E8A #2D54BB #5075D5
Accessibility & contrast
On white
9.90
#213E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#213E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E8A
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E8A | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213e8a; /* rgb */ color: rgb(33, 62, 138); /* oklch */ color: oklch(38.9% 0.132 265.0);
Tailwind
colors: {
custom: {
50: '#6c72ad',
500: '#213e8a',
950: '#000000',
},
}SCSS
$custom: #213e8a; $custom-light: #6c72ad; $custom-dark: #000000;
JSON
{
"hex": "#213e8a",
"rgb": {
"r": 33,
"g": 62,
"b": 138
},
"hsl": {
"h": 223.429,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.38898,
"c": 0.13164,
"h": 265
},
"luminance": 0.05604
}Semantic roles & 50–950 ramp
primary
#213E8A
secondary
#B99B4E
accent
#B843E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F