#21409F#21409F
#21409F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 265.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #21409F |
|---|---|
| RGB | rgb(33, 64, 159) |
| HSL | hsl(225, 66%, 38%) |
| HSV | hsv(225, 79%, 62%) |
| CMYK | cmyk(79.2%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.62, 24.52, -54.75) |
| CIE-LCH | lch(30.62, 59.99, 294.12°) |
| OKLab | oklab(41.11% -0.0116 -0.1582) |
| OKLCH | oklch(41.11% 0.159 265.8) |
| XYZ | xyz(8.7164, 6.4923, 33.5879) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 3.47
Cobalt (survey)
#1E488F
ΔE00 4.46
Blueberry
#464196
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21409F #9F8021
analogous
#217F9F #21409F #41219F
triadic
#21409F #9F2140 #409F21
tetradic
#21409F #9F217F #9F8021 #219F41
square
#21409F #9F217F #9F8021 #219F41
split-complementary
#21409F #9F4121 #7F9F21
monochromatic
#0C173A #162C6C #21409F #2C54D2 #5D7DDD
Accessibility & contrast
On white
9.14
#21409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#21409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21409F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21409F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21409f; /* rgb */ color: rgb(33, 64, 159); /* oklch */ color: oklch(41.1% 0.159 265.8);
Tailwind
colors: {
custom: {
50: '#7174bc',
500: '#21409f',
950: '#000000',
},
}SCSS
$custom: #21409f; $custom-light: #7174bc; $custom-dark: #000000;
JSON
{
"hex": "#21409f",
"rgb": {
"r": 33,
"g": 64,
"b": 159
},
"hsl": {
"h": 225.238,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41105,
"c": 0.15862,
"h": 265.8
},
"luminance": 0.06493
}Semantic roles & 50–950 ramp
primary
#21409F
secondary
#C2A85A
accent
#BF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81