#222E9B#222E9B
#222E9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.175 H 270.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #222E9B |
|---|---|
| RGB | rgb(34, 46, 155) |
| HSL | hsl(234, 64%, 37%) |
| HSV | hsv(234, 78%, 61%) |
| CMYK | cmyk(78.1%, 70.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.74, 35.02, -60.31) |
| CIE-LCH | lch(25.74, 69.74, 300.14°) |
| OKLab | oklab(37.41% 0.0001 -0.1746) |
| OKLCH | oklch(37.41% 0.175 270) |
| XYZ | xyz(7.5511, 4.6598, 31.5055) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Royal
#0C1793
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 6.46
Blueberry
#464196
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 7.14
Cobalt Blue
#030AA7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222E9B #9B8F22
analogous
#226A9B #222E9B #53229B
triadic
#222E9B #9B222E #2E9B22
tetradic
#222E9B #9B226A #9B8F22 #229B53
square
#222E9B #9B226A #9B8F22 #229B53
split-complementary
#222E9B #9B5322 #6A9B22
monochromatic
#0C1037 #171F69 #222E9B #2D3DCD #5C69DB
Accessibility & contrast
On white
10.87
#222E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#222E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222E9B
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222E9B | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #222e9b; /* rgb */ color: rgb(34, 46, 155); /* oklch */ color: oklch(37.4% 0.175 270.0);
Tailwind
colors: {
custom: {
50: '#7267ba',
500: '#222e9b',
950: '#000000',
},
}SCSS
$custom: #222e9b; $custom-light: #7267ba; $custom-dark: #000000;
JSON
{
"hex": "#222e9b",
"rgb": {
"r": 34,
"g": 46,
"b": 155
},
"hsl": {
"h": 234.05,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.37414,
"c": 0.17461,
"h": 270
},
"luminance": 0.04661
}Semantic roles & 50–950 ramp
primary
#222E9B
secondary
#C0B659
accent
#D741E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81