#21419B#21419B
#21419B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.152 H 265.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #21419B |
|---|---|
| RGB | rgb(33, 65, 155) |
| HSL | hsl(224, 65%, 37%) |
| HSV | hsv(224, 79%, 61%) |
| CMYK | cmyk(78.7%, 58.1%, 0%, 39.2%) |
| CIE-LAB | lab(30.57, 22.27, -52.42) |
| CIE-LCH | lch(30.57, 56.95, 293.02°) |
| OKLab | oklab(40.96% -0.0125 -0.1513) |
| OKLCH | oklch(40.96% 0.152 265.3) |
| XYZ | xyz(8.4318, 6.4695, 31.8083) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 3.74
Sapphire (survey)
#2138AB
ΔE00 4.22
Darkish Blue
#014182
ΔE00 5.32
Blueberry
#464196
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21419B #9B7B21
analogous
#217E9B #21419B #3E219B
triadic
#21419B #9B2141 #419B21
tetradic
#21419B #9B217E #9B7B21 #219B3E
square
#21419B #9B217E #9B7B21 #219B3E
split-complementary
#21419B #9B3E21 #7E9B21
monochromatic
#0C1736 #162C69 #21419B #2C56CD #5A7CDC
Accessibility & contrast
On white
9.15
#21419B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#21419B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21419B
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21419B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21419B | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21419b; /* rgb */ color: rgb(33, 65, 155); /* oklch */ color: oklch(41.0% 0.152 265.3);
Tailwind
colors: {
custom: {
50: '#7075b9',
500: '#21419b',
950: '#000000',
},
}SCSS
$custom: #21419b; $custom-light: #7075b9; $custom-dark: #000000;
JSON
{
"hex": "#21419b",
"rgb": {
"r": 33,
"g": 65,
"b": 155
},
"hsl": {
"h": 224.262,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.40962,
"c": 0.15184,
"h": 265.3
},
"luminance": 0.0647
}Semantic roles & 50–950 ramp
primary
#21419B
secondary
#C0A558
accent
#BC40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81