#21419D#21419D
#21419D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 265.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #21419D |
|---|---|
| RGB | rgb(33, 65, 157) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 62%) |
| CMYK | cmyk(79%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(30.73, 23.06, -53.37) |
| CIE-LCH | lch(30.73, 58.14, 293.37°) |
| OKLab | oklab(41.13% -0.0124 -0.1541) |
| OKLCH | oklch(41.13% 0.155 265.4) |
| XYZ | xyz(8.6012, 6.5373, 32.7003) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 3.99
Darkish Blue
#014182
ΔE00 5.57
Blueberry
#464196
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21419D #9D7D21
analogous
#217F9D #21419D #3F219D
triadic
#21419D #9D2141 #419D21
tetradic
#21419D #9D217F #9D7D21 #219D3F
square
#21419D #9D217F #9D7D21 #219D3F
split-complementary
#21419D #9D3F21 #7F9D21
monochromatic
#0C1738 #162C6A #21419D #2C56D0 #5C7DDD
Accessibility & contrast
On white
9.10
#21419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#21419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21419D
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21419D | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21419d; /* rgb */ color: rgb(33, 65, 157); /* oklch */ color: oklch(41.1% 0.155 265.4);
Tailwind
colors: {
custom: {
50: '#7175bb',
500: '#21419d',
950: '#000000',
},
}SCSS
$custom: #21419d; $custom-light: #7175bb; $custom-dark: #000000;
JSON
{
"hex": "#21419d",
"rgb": {
"r": 33,
"g": 65,
"b": 157
},
"hsl": {
"h": 224.516,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.41134,
"c": 0.15461,
"h": 265.4
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#21419D
secondary
#C1A659
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81