#222079#222079
#222079 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.145 H 275.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #222079 |
|---|---|
| RGB | rgb(34, 32, 121) |
| HSL | hsl(241, 58%, 30%) |
| HSV | hsv(241, 74%, 47%) |
| CMYK | cmyk(71.9%, 73.6%, 0%, 52.5%) |
| CIE-LAB | lab(19.03, 31.58, -50.13) |
| CIE-LCH | lch(19.03, 59.25, 302.21°) |
| OKLab | oklab(31.53% 0.0129 -0.1449) |
| OKLCH | oklch(31.53% 0.145 275.1) |
| XYZ | xyz(4.6263, 2.7532, 18.3731) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.16
Royal
#0C1793
ΔE00 4.73
Dark Royal Blue
#02066F
ΔE00 5.92
Darkblue (survey)
#030764
ΔE00 6.36
Deep Blue
#040273
ΔE00 6.41
Navy
#000080
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222079 #777920
analogous
#204B79 #222079 #4E2079
triadic
#222079 #792220 #207922
tetradic
#222079 #79204B #777920 #20794E
square
#222079 #79204B #777920 #20794E
split-complementary
#222079 #794E20 #4B7920
monochromatic
#070618 #141349 #222079 #302DA9 #4945CE
Accessibility & contrast
On white
13.54
#222079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#222079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222079
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222079 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #222079; /* rgb */ color: rgb(34, 32, 121); /* oklch */ color: oklch(31.5% 0.145 275.1);
Tailwind
colors: {
custom: {
50: '#6b5ca1',
500: '#222079',
950: '#000000',
},
}SCSS
$custom: #222079; $custom-light: #6b5ca1; $custom-dark: #000000;
JSON
{
"hex": "#222079",
"rgb": {
"r": 34,
"g": 32,
"b": 121
},
"hsl": {
"h": 241.348,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.3153,
"c": 0.14545,
"h": 275.1
},
"luminance": 0.02754
}Semantic roles & 50–950 ramp
primary
#222079
secondary
#AAAC49
accent
#E146DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F