#162C77#162C77
#162C77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.131 H 266.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #162C77 |
|---|---|
| RGB | rgb(22, 44, 119) |
| HSL | hsl(226, 69%, 28%) |
| HSV | hsv(226, 82%, 47%) |
| CMYK | cmyk(81.5%, 63%, 0%, 53.3%) |
| CIE-LAB | lab(21.22, 21.25, -45.28) |
| CIE-LCH | lch(21.22, 50.02, 295.15°) |
| OKLab | oklab(32.89% -0.0082 -0.1309) |
| OKLCH | oklch(32.89% 0.131 266.4) |
| XYZ | xyz(4.5602, 3.3033, 17.8465) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.27
Midnight Blue
#191970
ΔE00 6.02
Marine Blue
#01386A
ΔE00 6.92
Royal
#0C1793
ΔE00 7.97
Sapphire (survey)
#2138AB
ΔE00 8.11
Darkish Blue
#014182
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C77 #776116
analogous
#165C77 #162C77 #311677
triadic
#162C77 #77162C #2C7716
tetradic
#162C77 #77165C #776116 #167731
square
#162C77 #77165C #776116 #167731
split-complementary
#162C77 #773116 #5C7716
monochromatic
#050A1A #0C1943 #162C77 #203FAB #2F55D9
Accessibility & contrast
On white
12.64
#162C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#162C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C77
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C77 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #162c77; /* rgb */ color: rgb(22, 44, 119); /* oklch */ color: oklch(32.9% 0.131 266.4);
Tailwind
colors: {
custom: {
50: '#65649f',
500: '#162c77',
950: '#000000',
},
}SCSS
$custom: #162c77; $custom-light: #65649f; $custom-dark: #000000;
JSON
{
"hex": "#162c77",
"rgb": {
"r": 22,
"g": 44,
"b": 119
},
"hsl": {
"h": 226.392,
"s": 68.794,
"l": 27.647
},
"oklch": {
"l": 0.3289,
"c": 0.13116,
"h": 266.4
},
"luminance": 0.03304
}Semantic roles & 50–950 ramp
primary
#162C77
secondary
#AC933C
accent
#C43CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E