#221380#221380
#221380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.167 H 276.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #221380 |
|---|---|
| RGB | rgb(34, 19, 128) |
| HSL | hsl(248, 74%, 29%) |
| HSV | hsv(248, 85%, 50%) |
| CMYK | cmyk(73.4%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(17.29, 41.16, -57.46) |
| CIE-LCH | lch(17.29, 70.68, 305.62°) |
| OKLab | oklab(30.55% 0.018 -0.1661) |
| OKLCH | oklch(30.55% 0.167 276.2) |
| XYZ | xyz(4.7876, 2.3639, 20.6219) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.13
Midnight Blue
#191970
ΔE00 3.38
Navy
#000080
ΔE00 3.55
Darkblue
#00008B
ΔE00 3.57
Indigo (survey)
#380282
ΔE00 3.72
Deep Blue
#040273
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221380 #718013
analogous
#133B80 #221380 #591380
triadic
#221380 #802213 #138022
tetradic
#221380 #80133B #718013 #138059
square
#221380 #80133B #718013 #138059
split-complementary
#221380 #805913 #3B8013
monochromatic
#07041B #140B4B #221380 #301BB5 #462DE0
Accessibility & contrast
On white
14.26
#221380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#221380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221380
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221380 | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #221380; /* rgb */ color: rgb(34, 19, 128); /* oklch */ color: oklch(30.5% 0.167 276.2);
Tailwind
colors: {
custom: {
50: '#6e55a6',
500: '#221380',
950: '#000000',
},
}SCSS
$custom: #221380; $custom-light: #6e55a6; $custom-dark: #000000;
JSON
{
"hex": "#221380",
"rgb": {
"r": 34,
"g": 19,
"b": 128
},
"hsl": {
"h": 248.257,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.30545,
"c": 0.16703,
"h": 276.2
},
"luminance": 0.02364
}Semantic roles & 50–950 ramp
primary
#221380
secondary
#A4B539
accent
#F137D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F