#222C7F#222C7F
#222C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.139 H 271.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #222C7F |
|---|---|
| RGB | rgb(34, 44, 127) |
| HSL | hsl(234, 58%, 32%) |
| HSV | hsv(234, 73%, 50%) |
| CMYK | cmyk(73.2%, 65.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.56, 25.89, -48.15) |
| CIE-LCH | lch(22.56, 54.66, 298.27°) |
| OKLab | oklab(34.27% 0.0037 -0.139) |
| OKLCH | oklch(34.27% 0.139 271.5) |
| XYZ | xyz(5.3898, 3.6732, 20.4995) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.43
Royal
#0C1793
ΔE00 6.61
Sapphire (survey)
#2138AB
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 6.96
Marine
#042E60
ΔE00 7.34
Blueberry
#464196
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222C7F #7F7522
analogous
#225B7F #222C7F #47227F
triadic
#222C7F #7F222C #2C7F22
tetradic
#222C7F #7F225B #7F7522 #227F47
square
#222C7F #7F225B #7F7522 #227F47
split-complementary
#222C7F #7F4722 #5B7F22
monochromatic
#080B1E #151B4F #222C7F #2F3DAF #4C5ACF
Accessibility & contrast
On white
12.11
#222C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#222C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222C7F
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222C7F | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #222c7f; /* rgb */ color: rgb(34, 44, 127); /* oklch */ color: oklch(34.3% 0.139 271.5);
Tailwind
colors: {
custom: {
50: '#6b65a5',
500: '#222c7f',
950: '#000000',
},
}SCSS
$custom: #222c7f; $custom-light: #6b65a5; $custom-dark: #000000;
JSON
{
"hex": "#222c7f",
"rgb": {
"r": 34,
"g": 44,
"b": 127
},
"hsl": {
"h": 233.548,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.34274,
"c": 0.13908,
"h": 271.5
},
"luminance": 0.03674
}Semantic roles & 50–950 ramp
primary
#222C7F
secondary
#B2A74B
accent
#D047E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F