#21409E#21409E
#21409E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.157 H 265.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #21409E |
|---|---|
| RGB | rgb(33, 64, 158) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 62%) |
| CMYK | cmyk(79.1%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(30.54, 24.13, -54.28) |
| CIE-LCH | lch(30.54, 59.40, 293.97°) |
| OKLab | oklab(41.02% -0.0117 -0.1568) |
| OKLCH | oklch(41.02% 0.157 265.7) |
| XYZ | xyz(8.6300, 6.4578, 33.1328) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt (survey)
#1E488F
ΔE00 4.35
Blueberry
#464196
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.77
Darkish Blue
#014182
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21409E #9E7F21
analogous
#217F9E #21409E #41219E
triadic
#21409E #9E2140 #409E21
tetradic
#21409E #9E217F #9E7F21 #219E41
square
#21409E #9E217F #9E7F21 #219E41
split-complementary
#21409E #9E4121 #7F9E21
monochromatic
#0C1739 #162B6B #21409E #2C55D1 #5C7CDD
Accessibility & contrast
On white
9.16
#21409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#21409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21409E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21409E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21409e; /* rgb */ color: rgb(33, 64, 158); /* oklch */ color: oklch(41.0% 0.157 265.7);
Tailwind
colors: {
custom: {
50: '#7174bb',
500: '#21409e',
950: '#000000',
},
}SCSS
$custom: #21409e; $custom-light: #7174bb; $custom-dark: #000000;
JSON
{
"hex": "#21409e",
"rgb": {
"r": 33,
"g": 64,
"b": 158
},
"hsl": {
"h": 225.12,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.41017,
"c": 0.15724,
"h": 265.7
},
"luminance": 0.06459
}Semantic roles & 50–950 ramp
primary
#21409E
secondary
#C1A859
accent
#BE3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81