#222C71#222C71
#222C71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.119 H 271.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #222C71 |
|---|---|
| RGB | rgb(34, 44, 113) |
| HSL | hsl(232, 54%, 29%) |
| HSV | hsv(232, 70%, 44%) |
| CMYK | cmyk(69.9%, 61.1%, 0%, 55.7%) |
| CIE-LAB | lab(21.33, 20.50, -41.23) |
| CIE-LCH | lch(21.33, 46.04, 296.44°) |
| OKLab | oklab(32.98% 0.004 -0.1187) |
| OKLCH | oklch(32.98% 0.119 271.9) |
| XYZ | xyz(4.5400, 3.3333, 16.0237) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.77
Midnight Blue
#191970
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 7.68
Marine Blue
#01386A
ΔE00 7.80
Navy Blue
#1B2A4A
ΔE00 7.80
Royal
#0C1793
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222C71 #716722
analogous
#225471 #222C71 #402271
triadic
#222C71 #71222C #2C7122
tetradic
#222C71 #712254 #716722 #227140
square
#222C71 #712254 #716722 #227140
split-complementary
#222C71 #714022 #547122
monochromatic
#070918 #141A42 #222C71 #303EA0 #4656C7
Accessibility & contrast
On white
12.60
#222C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#222C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222C71
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222C71 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #222c71; /* rgb */ color: rgb(34, 44, 113); /* oklch */ color: oklch(33.0% 0.119 271.9);
Tailwind
colors: {
custom: {
50: '#68659a',
500: '#222c71',
950: '#000000',
},
}SCSS
$custom: #222c71; $custom-light: #68659a; $custom-dark: #000000;
JSON
{
"hex": "#222c71",
"rgb": {
"r": 34,
"g": 44,
"b": 113
},
"hsl": {
"h": 232.405,
"s": 53.741,
"l": 28.824
},
"oklch": {
"l": 0.32983,
"c": 0.11879,
"h": 271.9
},
"luminance": 0.03334
}Semantic roles & 50–950 ramp
primary
#222C71
secondary
#A4994A
accent
#CB4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E