#213C8E#213C8E
#213C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.140 H 266.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #213C8E |
|---|---|
| RGB | rgb(33, 60, 142) |
| HSL | hsl(225, 62%, 34%) |
| HSV | hsv(225, 77%, 56%) |
| CMYK | cmyk(76.8%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.13, 20.58, -48.42) |
| CIE-LCH | lch(28.13, 52.61, 293.03°) |
| OKLab | oklab(38.81% -0.0095 -0.1397) |
| OKLCH | oklch(38.81% 0.14 266.1) |
| XYZ | xyz(7.1238, 5.5073, 26.2735) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.90
Darkish Blue
#014182
ΔE00 5.01
Cobalt
#0047AB
ΔE00 5.31
Blueberry
#464196
ΔE00 5.79
Twilight Blue
#0A437A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C8E #8E7321
analogous
#21738E #213C8E #3D218E
triadic
#213C8E #8E213C #3C8E21
tetradic
#213C8E #8E2173 #8E7321 #218E3D
square
#213C8E #8E2173 #8E7321 #218E3D
split-complementary
#213C8E #8E3D21 #738E21
monochromatic
#0A122B #15275C #213C8E #2D51C0 #5273D7
Accessibility & contrast
On white
9.99
#213C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#213C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C8E
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C8E | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213c8e; /* rgb */ color: rgb(33, 60, 142); /* oklch */ color: oklch(38.8% 0.140 266.1);
Tailwind
colors: {
custom: {
50: '#6d71b0',
500: '#213c8e',
950: '#000000',
},
}SCSS
$custom: #213c8e; $custom-light: #6d71b0; $custom-dark: #000000;
JSON
{
"hex": "#213c8e",
"rgb": {
"r": 33,
"g": 60,
"b": 142
},
"hsl": {
"h": 225.138,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.38805,
"c": 0.13998,
"h": 266.1
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#213C8E
secondary
#BAA050
accent
#BD42E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F