#21419F#21419F
#21419F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.157 H 265.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #21419F |
|---|---|
| RGB | rgb(33, 65, 159) |
| HSL | hsl(225, 66%, 38%) |
| HSV | hsv(225, 79%, 62%) |
| CMYK | cmyk(79.2%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(30.89, 23.84, -54.31) |
| CIE-LCH | lch(30.89, 59.31, 293.70°) |
| OKLab | oklab(41.31% -0.0123 -0.1569) |
| OKLCH | oklch(41.31% 0.157 265.5) |
| XYZ | xyz(8.7733, 6.6061, 33.6069) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt (survey)
#1E488F
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 5.66
Blueberry
#464196
ΔE00 5.67
Darkish Blue
#014182
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21419F #9F7F21
analogous
#21809F #21419F #40219F
triadic
#21419F #9F2141 #419F21
tetradic
#21419F #9F2180 #9F7F21 #219F40
square
#21419F #9F2180 #9F7F21 #219F40
split-complementary
#21419F #9F4021 #809F21
monochromatic
#0C183A #162C6C #21419F #2C56D2 #5D7EDD
Accessibility & contrast
On white
9.05
#21419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#21419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21419F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21419F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21419f; /* rgb */ color: rgb(33, 65, 159); /* oklch */ color: oklch(41.3% 0.157 265.5);
Tailwind
colors: {
custom: {
50: '#7175bc',
500: '#21419f',
950: '#000000',
},
}SCSS
$custom: #21419f; $custom-light: #7175bc; $custom-dark: #000000;
JSON
{
"hex": "#21419f",
"rgb": {
"r": 33,
"g": 65,
"b": 159
},
"hsl": {
"h": 224.762,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41308,
"c": 0.15736,
"h": 265.5
},
"luminance": 0.06607
}Semantic roles & 50–950 ramp
primary
#21419F
secondary
#C2A75A
accent
#BE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81