#21409C#21409C
#21409C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.154 H 265.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #21409C |
|---|---|
| RGB | rgb(33, 64, 156) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 61%) |
| CMYK | cmyk(78.8%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.37, 23.35, -53.34) |
| CIE-LCH | lch(30.37, 58.22, 293.64°) |
| OKLab | oklab(40.84% -0.0117 -0.154) |
| OKLCH | oklch(40.84% 0.154 265.6) |
| XYZ | xyz(8.4592, 6.3895, 32.2335) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 3.82
Cobalt (survey)
#1E488F
ΔE00 4.15
Blueberry
#464196
ΔE00 5.60
Darkish Blue
#014182
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21409C #9C7D21
analogous
#217E9C #21409C #40219C
triadic
#21409C #9C2140 #409C21
tetradic
#21409C #9C217E #9C7D21 #219C40
square
#21409C #9C217E #9C7D21 #219C40
split-complementary
#21409C #9C4021 #7E9C21
monochromatic
#0C1737 #162B69 #21409C #2C55CF #5B7CDC
Accessibility & contrast
On white
9.22
#21409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#21409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21409C
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21409C | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21409c; /* rgb */ color: rgb(33, 64, 156); /* oklch */ color: oklch(40.8% 0.154 265.6);
Tailwind
colors: {
custom: {
50: '#7174ba',
500: '#21409c',
950: '#000000',
},
}SCSS
$custom: #21409c; $custom-light: #7174ba; $custom-dark: #000000;
JSON
{
"hex": "#21409c",
"rgb": {
"r": 33,
"g": 64,
"b": 156
},
"hsl": {
"h": 224.878,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.40843,
"c": 0.15449,
"h": 265.6
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#21409C
secondary
#C1A658
accent
#BE40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81