#221776#221776
#221776 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.151 H 277.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #221776 |
|---|---|
| RGB | rgb(34, 23, 118) |
| HSL | hsl(247, 67%, 28%) |
| HSV | hsv(247, 81%, 46%) |
| CMYK | cmyk(71.2%, 80.5%, 0%, 53.7%) |
| CIE-LAB | lab(16.80, 35.88, -51.88) |
| CIE-LCH | lch(16.80, 63.08, 304.67°) |
| OKLab | oklab(29.85% 0.019 -0.1499) |
| OKLCH | oklch(29.85% 0.151 277.2) |
| XYZ | xyz(4.2350, 2.2605, 17.3492) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.71
Dark Royal Blue
#02066F
ΔE00 3.95
Deep Blue
#040273
ΔE00 4.33
Royal
#0C1793
ΔE00 4.50
Darkblue (survey)
#030764
ΔE00 4.57
Navy
#000080
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221776 #6B7617
analogous
#173C76 #221776 #511776
triadic
#221776 #762217 #177622
tetradic
#221776 #76173C #6B7617 #177651
square
#221776 #76173C #6B7617 #177651
split-complementary
#221776 #765117 #3C7617
monochromatic
#07051A #130D43 #221776 #3121A9 #4431D7
Accessibility & contrast
On white
14.46
#221776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#221776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221776
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221776 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #221776; /* rgb */ color: rgb(34, 23, 118); /* oklch */ color: oklch(29.9% 0.151 277.2);
Tailwind
colors: {
custom: {
50: '#6b569f',
500: '#221776',
950: '#000000',
},
}SCSS
$custom: #221776; $custom-light: #6b569f; $custom-dark: #000000;
JSON
{
"hex": "#221776",
"rgb": {
"r": 34,
"g": 23,
"b": 118
},
"hsl": {
"h": 246.947,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.29853,
"c": 0.1511,
"h": 277.2
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#221776
secondary
#9FAB3E
accent
#EA3ED6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E