#221481#221481
#221481 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 275.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #221481 |
|---|---|
| RGB | rgb(34, 20, 129) |
| HSL | hsl(248, 73%, 29%) |
| HSV | hsv(248, 84%, 51%) |
| CMYK | cmyk(73.6%, 84.5%, 0%, 49.4%) |
| CIE-LAB | lab(17.58, 41.00, -57.62) |
| CIE-LCH | lch(17.58, 70.72, 305.43°) |
| OKLab | oklab(30.78% 0.0173 -0.1665) |
| OKLCH | oklch(30.78% 0.167 275.9) |
| XYZ | xyz(4.8710, 2.4249, 20.9760) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.95
Midnight Blue
#191970
ΔE00 3.39
Darkblue
#00008B
ΔE00 3.65
Navy
#000080
ΔE00 3.70
Indigo (survey)
#380282
ΔE00 3.84
Deep Blue
#040273
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221481 #738114
analogous
#143D81 #221481 #591481
triadic
#221481 #812214 #148122
tetradic
#221481 #81143D #738114 #148159
square
#221481 #81143D #738114 #148159
split-complementary
#221481 #815914 #3D8114
monochromatic
#07041A #140C4C #221481 #301CB6 #4730DF
Accessibility & contrast
On white
14.14
#221481 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#221481 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221481
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221481 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221481 | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #221481; /* rgb */ color: rgb(34, 20, 129); /* oklch */ color: oklch(30.8% 0.167 275.9);
Tailwind
colors: {
custom: {
50: '#6e56a7',
500: '#221481',
950: '#000000',
},
}SCSS
$custom: #221481; $custom-light: #6e56a7; $custom-dark: #000000;
JSON
{
"hex": "#221481",
"rgb": {
"r": 34,
"g": 20,
"b": 129
},
"hsl": {
"h": 247.706,
"s": 73.154,
"l": 29.216
},
"oklch": {
"l": 0.30777,
"c": 0.16744,
"h": 275.9
},
"luminance": 0.02425
}Semantic roles & 50–950 ramp
primary
#221481
secondary
#A6B63B
accent
#F038D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F