#222E97#222E97
#222E97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.169 H 270.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #222E97 |
|---|---|
| RGB | rgb(34, 46, 151) |
| HSL | hsl(234, 63%, 36%) |
| HSV | hsv(234, 77%, 59%) |
| CMYK | cmyk(77.5%, 69.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.34, 33.56, -58.52) |
| CIE-LCH | lch(25.34, 67.46, 299.83°) |
| OKLab | oklab(37% 0.0006 -0.1694) |
| OKLCH | oklch(37% 0.169 270.2) |
| XYZ | xyz(7.2207, 4.5276, 29.7655) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Royal
#0C1793
ΔE00 5.60
Blueberry
#464196
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.88
Darkslateblue
#483D8B
ΔE00 6.96
Cobalt Blue
#030AA7
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222E97 #978B22
analogous
#226997 #222E97 #512297
triadic
#222E97 #97222E #2E9722
tetradic
#222E97 #972269 #978B22 #229751
square
#222E97 #972269 #978B22 #229751
split-complementary
#222E97 #975122 #699722
monochromatic
#0C1033 #171F65 #222E97 #2D3DC9 #5A67DA
Accessibility & contrast
On white
11.02
#222E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#222E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222E97
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222E97 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #222e97; /* rgb */ color: rgb(34, 46, 151); /* oklch */ color: oklch(37.0% 0.169 270.2);
Tailwind
colors: {
custom: {
50: '#7167b7',
500: '#222e97',
950: '#000000',
},
}SCSS
$custom: #222e97; $custom-light: #7167b7; $custom-dark: #000000;
JSON
{
"hex": "#222e97",
"rgb": {
"r": 34,
"g": 46,
"b": 151
},
"hsl": {
"h": 233.846,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.37005,
"c": 0.16937,
"h": 270.2
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#222E97
secondary
#BEB357
accent
#D542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80