#222C76#222C76
#222C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.126 H 271.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #222C76 |
|---|---|
| RGB | rgb(34, 44, 118) |
| HSL | hsl(233, 55%, 30%) |
| HSV | hsv(233, 71%, 46%) |
| CMYK | cmyk(71.2%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.76, 22.44, -43.74) |
| CIE-LCH | lch(21.76, 49.15, 297.16°) |
| OKLab | oklab(33.43% 0.004 -0.1261) |
| OKLCH | oklch(33.43% 0.126 271.8) |
| XYZ | xyz(4.8293, 3.4490, 17.5472) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.51
Marine
#042E60
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 7.34
Royal
#0C1793
ΔE00 7.79
Marine Blue
#01386A
ΔE00 8.05
Blueberry
#464196
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222C76 #766C22
analogous
#225676 #222C76 #422276
triadic
#222C76 #76222C #2C7622
tetradic
#222C76 #762256 #766C22 #227642
square
#222C76 #762256 #766C22 #227642
split-complementary
#222C76 #764222 #567622
monochromatic
#070918 #141A46 #222C76 #303EA6 #4858CA
Accessibility & contrast
On white
12.43
#222C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#222C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222C76
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222C76 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #222c76; /* rgb */ color: rgb(34, 44, 118); /* oklch */ color: oklch(33.4% 0.126 271.8);
Tailwind
colors: {
custom: {
50: '#69659e',
500: '#222c76',
950: '#000000',
},
}SCSS
$custom: #222c76; $custom-light: #69659e; $custom-dark: #000000;
JSON
{
"hex": "#222c76",
"rgb": {
"r": 34,
"g": 44,
"b": 118
},
"hsl": {
"h": 232.857,
"s": 55.263,
"l": 29.804
},
"oklch": {
"l": 0.33434,
"c": 0.12615,
"h": 271.8
},
"luminance": 0.03449
}Semantic roles & 50–950 ramp
primary
#222C76
secondary
#A99E4B
accent
#CD49DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E