#222E99#222E99
#222E99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.172 H 270.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #222E99 |
|---|---|
| RGB | rgb(34, 46, 153) |
| HSL | hsl(234, 64%, 37%) |
| HSV | hsv(234, 78%, 60%) |
| CMYK | cmyk(77.8%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(25.54, 34.29, -59.42) |
| CIE-LCH | lch(25.54, 68.60, 299.99°) |
| OKLab | oklab(37.21% 0.0004 -0.172) |
| OKLCH | oklch(37.21% 0.172 270.1) |
| XYZ | xyz(7.3845, 4.5932, 30.6282) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Royal
#0C1793
ΔE00 5.59
Blueberry
#464196
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 7.04
Cobalt Blue
#030AA7
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222E99 #998D22
analogous
#226A99 #222E99 #522299
triadic
#222E99 #99222E #2E9922
tetradic
#222E99 #99226A #998D22 #229952
square
#222E99 #99226A #998D22 #229952
split-complementary
#222E99 #995222 #6A9922
monochromatic
#0C1035 #171F67 #222E99 #2D3DCB #5B68DB
Accessibility & contrast
On white
10.94
#222E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#222E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222E99
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222E99 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #222e99; /* rgb */ color: rgb(34, 46, 153); /* oklch */ color: oklch(37.2% 0.172 270.1);
Tailwind
colors: {
custom: {
50: '#7267b8',
500: '#222e99',
950: '#000000',
},
}SCSS
$custom: #222e99; $custom-light: #7267b8; $custom-dark: #000000;
JSON
{
"hex": "#222e99",
"rgb": {
"r": 34,
"g": 46,
"b": 153
},
"hsl": {
"h": 233.95,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.37209,
"c": 0.172,
"h": 270.1
},
"luminance": 0.04594
}Semantic roles & 50–950 ramp
primary
#222E99
secondary
#BFB558
accent
#D641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80