#222F97#222F97
#222F97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.168 H 270.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #222F97 |
|---|---|
| RGB | rgb(34, 47, 151) |
| HSL | hsl(233, 63%, 36%) |
| HSV | hsv(233, 77%, 59%) |
| CMYK | cmyk(77.5%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.58, 32.91, -58.13) |
| CIE-LCH | lch(25.58, 66.80, 299.52°) |
| OKLab | oklab(37.18% 0 -0.1682) |
| OKLCH | oklch(37.18% 0.168 270) |
| XYZ | xyz(7.2602, 4.6067, 29.7787) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.11
Cobalt Blue
#030AA7
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222F97 #978A22
analogous
#226A97 #222F97 #502297
triadic
#222F97 #97222F #2F9722
tetradic
#222F97 #97226A #978A22 #229750
square
#222F97 #97226A #978A22 #229750
split-complementary
#222F97 #975022 #6A9722
monochromatic
#0C1033 #171F65 #222F97 #2D3FC9 #5A68DA
Accessibility & contrast
On white
10.93
#222F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#222F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222F97
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222F97 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #222f97; /* rgb */ color: rgb(34, 47, 151); /* oklch */ color: oklch(37.2% 0.168 270.0);
Tailwind
colors: {
custom: {
50: '#7168b7',
500: '#222f97',
950: '#000000',
},
}SCSS
$custom: #222f97; $custom-light: #7168b7; $custom-dark: #000000;
JSON
{
"hex": "#222f97",
"rgb": {
"r": 34,
"g": 47,
"b": 151
},
"hsl": {
"h": 233.333,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.37179,
"c": 0.16822,
"h": 270
},
"luminance": 0.04607
}Semantic roles & 50–950 ramp
primary
#222F97
secondary
#BEB357
accent
#D442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80