#222099#222099
#222099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.186 H 272.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #222099 |
|---|---|
| RGB | rgb(34, 32, 153) |
| HSL | hsl(241, 65%, 36%) |
| HSV | hsv(241, 79%, 60%) |
| CMYK | cmyk(77.8%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(22.56, 42.63, -64.35) |
| CIE-LCH | lch(22.56, 77.19, 303.52°) |
| OKLab | oklab(35.08% 0.0066 -0.1863) |
| OKLCH | oklch(35.08% 0.186 272) |
| XYZ | xyz(6.9240, 3.6723, 30.4747) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.39
Cobalt Blue
#030AA7
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.47
Royal Blue (survey)
#0504AA
ΔE00 4.50
Ultramarine
#2000B1
ΔE00 4.98
Darkblue
#00008B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222099 #979920
analogous
#205B99 #222099 #5F2099
triadic
#222099 #992220 #209922
tetradic
#222099 #99205B #979920 #20995F
square
#222099 #99205B #979920 #20995F
split-complementary
#222099 #995F20 #5B9920
monochromatic
#0C0B34 #171566 #222099 #2D2BCC #5A57DC
Accessibility & contrast
On white
12.11
#222099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#222099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222099
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222099 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #222099; /* rgb */ color: rgb(34, 32, 153); /* oklch */ color: oklch(35.1% 0.186 272.0);
Tailwind
colors: {
custom: {
50: '#735eb8',
500: '#222099',
950: '#000000',
},
}SCSS
$custom: #222099; $custom-light: #735eb8; $custom-dark: #000000;
JSON
{
"hex": "#222099",
"rgb": {
"r": 34,
"g": 32,
"b": 153
},
"hsl": {
"h": 240.992,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.35079,
"c": 0.18638,
"h": 272
},
"luminance": 0.03673
}Semantic roles & 50–950 ramp
primary
#222099
secondary
#BEC055
accent
#E83FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981