#221180#221180
#221180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.169 H 276.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #221180 |
|---|---|
| RGB | rgb(34, 17, 128) |
| HSL | hsl(249, 77%, 28%) |
| HSV | hsv(249, 87%, 50%) |
| CMYK | cmyk(73.4%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(16.98, 42.06, -57.97) |
| CIE-LCH | lch(16.98, 71.62, 305.97°) |
| OKLab | oklab(30.33% 0.0187 -0.1675) |
| OKLCH | oklch(30.33% 0.169 276.4) |
| XYZ | xyz(4.7551, 2.2990, 20.6111) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Navy
#000080
ΔE00 3.26
Darkblue
#00008B
ΔE00 3.30
Indigo (survey)
#380282
ΔE00 3.48
Midnight Blue
#191970
ΔE00 3.61
Deep Blue
#040273
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221180 #6F8011
analogous
#113780 #221180 #591180
triadic
#221180 #802211 #118022
tetradic
#221180 #801137 #6F8011 #118059
square
#221180 #801137 #6F8011 #118059
split-complementary
#221180 #805911 #378011
monochromatic
#07041B #140A4A #221180 #3018B6 #4529E3
Accessibility & contrast
On white
14.39
#221180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#221180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221180
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221180 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #221180; /* rgb */ color: rgb(34, 17, 128); /* oklch */ color: oklch(30.3% 0.169 276.4);
Tailwind
colors: {
custom: {
50: '#6e54a6',
500: '#221180',
950: '#000000',
},
}SCSS
$custom: #221180; $custom-light: #6e54a6; $custom-dark: #000000;
JSON
{
"hex": "#221180",
"rgb": {
"r": 34,
"g": 17,
"b": 128
},
"hsl": {
"h": 249.189,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.30333,
"c": 0.16854,
"h": 276.4
},
"luminance": 0.02299
}Semantic roles & 50–950 ramp
primary
#221180
secondary
#A2B637
accent
#F335D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F