#221775#221775
#221775 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.150 H 277.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #221775 |
|---|---|
| RGB | rgb(34, 23, 117) |
| HSL | hsl(247, 67%, 27%) |
| HSV | hsv(247, 80%, 46%) |
| CMYK | cmyk(70.9%, 80.3%, 0%, 54.1%) |
| CIE-LAB | lab(16.68, 35.55, -51.42) |
| CIE-LCH | lch(16.68, 62.51, 304.66°) |
| OKLab | oklab(29.74% 0.0193 -0.1486) |
| OKLCH | oklch(29.74% 0.15 277.4) |
| XYZ | xyz(4.1759, 2.2369, 17.0379) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.62
Dark Royal Blue
#02066F
ΔE00 3.94
Deep Blue
#040273
ΔE00 4.35
Darkblue (survey)
#030764
ΔE00 4.50
Royal
#0C1793
ΔE00 4.65
Navy
#000080
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221775 #6A7517
analogous
#173B75 #221775 #511775
triadic
#221775 #752217 #177522
tetradic
#221775 #75173B #6A7517 #177551
square
#221775 #75173B #6A7517 #177551
split-complementary
#221775 #755117 #3B7517
monochromatic
#07051A #130D42 #221775 #3121A8 #4430D6
Accessibility & contrast
On white
14.51
#221775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#221775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221775
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221775 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #221775; /* rgb */ color: rgb(34, 23, 117); /* oklch */ color: oklch(29.7% 0.150 277.4);
Tailwind
colors: {
custom: {
50: '#6b569e',
500: '#221775',
950: '#000000',
},
}SCSS
$custom: #221775; $custom-light: #6b569e; $custom-dark: #000000;
JSON
{
"hex": "#221775",
"rgb": {
"r": 34,
"g": 23,
"b": 117
},
"hsl": {
"h": 247.021,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29739,
"c": 0.14983,
"h": 277.4
},
"luminance": 0.02237
}Semantic roles & 50–950 ramp
primary
#221775
secondary
#9EAA3D
accent
#EA3ED6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E