#222476#222476
#222476 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.137 H 274.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #222476 |
|---|---|
| RGB | rgb(34, 36, 118) |
| HSL | hsl(239, 55%, 30%) |
| HSV | hsv(239, 71%, 46%) |
| CMYK | cmyk(71.2%, 69.5%, 0%, 53.7%) |
| CIE-LAB | lab(19.68, 27.89, -47.14) |
| CIE-LCH | lch(19.68, 54.77, 300.61°) |
| OKLab | oklab(31.91% 0.0105 -0.1361) |
| OKLCH | oklch(31.91% 0.137 274.4) |
| XYZ | xyz(4.5595, 2.9094, 17.4573) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.98
Royal
#0C1793
ΔE00 5.88
Dark Royal Blue
#02066F
ΔE00 7.05
Darkblue (survey)
#030764
ΔE00 7.25
Deep Blue
#040273
ΔE00 7.64
Navy
#000080
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222476 #767422
analogous
#224E76 #222476 #4A2276
triadic
#222476 #762224 #247622
tetradic
#222476 #76224E #767422 #22764A
square
#222476 #76224E #767422 #22764A
split-complementary
#222476 #764A22 #4E7622
monochromatic
#070718 #141646 #222476 #3032A6 #484BCA
Accessibility & contrast
On white
13.27
#222476 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#222476 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222476
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222476 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222476 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #222476; /* rgb */ color: rgb(34, 36, 118); /* oklch */ color: oklch(31.9% 0.137 274.4);
Tailwind
colors: {
custom: {
50: '#6a5f9e',
500: '#222476',
950: '#000000',
},
}SCSS
$custom: #222476; $custom-light: #6a5f9e; $custom-dark: #000000;
JSON
{
"hex": "#222476",
"rgb": {
"r": 34,
"g": 36,
"b": 118
},
"hsl": {
"h": 238.571,
"s": 55.263,
"l": 29.804
},
"oklch": {
"l": 0.31907,
"c": 0.13654,
"h": 274.4
},
"luminance": 0.0291
}Semantic roles & 50–950 ramp
primary
#222476
secondary
#A9A74B
accent
#DB49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E