#222AA9#222AA9
#222AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.197 H 270.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #222AA9 |
|---|---|
| RGB | rgb(34, 42, 169) |
| HSL | hsl(236, 67%, 40%) |
| HSV | hsv(236, 80%, 66%) |
| CMYK | cmyk(79.9%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.33, 42.41, -67.84) |
| CIE-LCH | lch(26.33, 80.01, 302.01°) |
| OKLab | oklab(38.27% 0 -0.1965) |
| OKLCH | oklch(38.27% 0.197 270) |
| XYZ | xyz(8.6466, 4.8596, 38.0107) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.47
Royal
#0C1793
ΔE00 5.29
True Blue
#010FCC
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222AA9 #A9A122
analogous
#226EA9 #222AA9 #5D22A9
triadic
#222AA9 #A9222A #2AA922
tetradic
#222AA9 #A9226E #A9A122 #22A95D
square
#222AA9 #A9226E #A9A122 #22A95D
split-complementary
#222AA9 #A95D22 #6EA922
monochromatic
#0D1143 #181D76 #222AA9 #323CD6 #656DE0
Accessibility & contrast
On white
10.65
#222AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#222AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222AA9
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222AA9 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #222aa9; /* rgb */ color: rgb(34, 42, 169); /* oklch */ color: oklch(38.3% 0.197 270.0);
Tailwind
colors: {
custom: {
50: '#7665c4',
500: '#222aa9',
950: '#000000',
},
}SCSS
$custom: #222aa9; $custom-light: #7665c4; $custom-dark: #000000;
JSON
{
"hex": "#222aa9",
"rgb": {
"r": 34,
"g": 42,
"b": 169
},
"hsl": {
"h": 236.444,
"s": 66.502,
"l": 39.804
},
"oklch": {
"l": 0.38274,
"c": 0.1965,
"h": 270
},
"luminance": 0.04861
}Semantic roles & 50–950 ramp
primary
#222AA9
secondary
#C5C061
accent
#DF3EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82