#213C8D#213C8D
#213C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.139 H 266.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #213C8D |
|---|---|
| RGB | rgb(33, 60, 141) |
| HSL | hsl(225, 62%, 34%) |
| HSV | hsv(225, 77%, 55%) |
| CMYK | cmyk(76.6%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(28.05, 20.19, -47.93) |
| CIE-LCH | lch(28.05, 52.01, 292.84°) |
| OKLab | oklab(38.72% -0.0095 -0.1382) |
| OKLCH | oklch(38.72% 0.139 266.1) |
| XYZ | xyz(7.0491, 5.4774, 25.8799) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.49
Darkish Blue
#014182
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.06
Cobalt
#0047AB
ΔE00 5.39
Blueberry
#464196
ΔE00 5.86
Twilight Blue
#0A437A
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C8D #8D7221
analogous
#21728D #213C8D #3C218D
triadic
#213C8D #8D213C #3C8D21
tetradic
#213C8D #8D2172 #8D7221 #218D3C
square
#213C8D #8D2172 #8D7221 #218D3C
split-complementary
#213C8D #8D3C21 #728D21
monochromatic
#0A122A #15275B #213C8D #2D51BF #5273D6
Accessibility & contrast
On white
10.02
#213C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#213C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C8D
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C8D | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213c8d; /* rgb */ color: rgb(33, 60, 141); /* oklch */ color: oklch(38.7% 0.139 266.1);
Tailwind
colors: {
custom: {
50: '#6d71af',
500: '#213c8d',
950: '#000000',
},
}SCSS
$custom: #213c8d; $custom-light: #6d71af; $custom-dark: #000000;
JSON
{
"hex": "#213c8d",
"rgb": {
"r": 33,
"g": 60,
"b": 141
},
"hsl": {
"h": 225,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.3872,
"c": 0.13856,
"h": 266.1
},
"luminance": 0.05478
}Semantic roles & 50–950 ramp
primary
#213C8D
secondary
#BA9F50
accent
#BD43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F