#221280#221280
#221280 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.168 H 276.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #221280 |
|---|---|
| RGB | rgb(34, 18, 128) |
| HSL | hsl(249, 75%, 29%) |
| HSV | hsv(249, 86%, 50%) |
| CMYK | cmyk(73.4%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.14, 41.62, -57.72) |
| CIE-LCH | lch(17.14, 71.16, 305.79°) |
| OKLab | oklab(30.44% 0.0183 -0.1668) |
| OKLCH | oklch(30.44% 0.168 276.3) |
| XYZ | xyz(4.7710, 2.3308, 20.6163) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.18
Navy
#000080
ΔE00 3.40
Darkblue
#00008B
ΔE00 3.43
Midnight Blue
#191970
ΔE00 3.49
Indigo (survey)
#380282
ΔE00 3.60
Deep Blue
#040273
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221280 #708012
analogous
#123980 #221280 #591280
triadic
#221280 #802212 #128022
tetradic
#221280 #801239 #708012 #128059
square
#221280 #801239 #708012 #128059
split-complementary
#221280 #805912 #398012
monochromatic
#07041B #140A4A #221280 #301AB6 #462BE1
Accessibility & contrast
On white
14.32
#221280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#221280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221280
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221280 | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #221280; /* rgb */ color: rgb(34, 18, 128); /* oklch */ color: oklch(30.4% 0.168 276.3);
Tailwind
colors: {
custom: {
50: '#6e55a6',
500: '#221280',
950: '#000000',
},
}SCSS
$custom: #221280; $custom-light: #6e55a6; $custom-dark: #000000;
JSON
{
"hex": "#221280",
"rgb": {
"r": 34,
"g": 18,
"b": 128
},
"hsl": {
"h": 248.727,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30437,
"c": 0.16779,
"h": 276.3
},
"luminance": 0.02331
}Semantic roles & 50–950 ramp
primary
#221280
secondary
#A3B638
accent
#F236D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F