#162C76#162C76
#162C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.130 H 266.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #162C76 |
|---|---|
| RGB | rgb(22, 44, 118) |
| HSL | hsl(226, 69%, 27%) |
| HSV | hsv(226, 81%, 46%) |
| CMYK | cmyk(81.4%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.13, 20.84, -44.79) |
| CIE-LCH | lch(21.13, 49.40, 294.96°) |
| OKLab | oklab(32.8% -0.0082 -0.1295) |
| OKLCH | oklch(32.8% 0.13 266.4) |
| XYZ | xyz(4.5004, 3.2794, 17.5318) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.13
Midnight Blue
#191970
ΔE00 6.07
Marine Blue
#01386A
ΔE00 6.84
Royal
#0C1793
ΔE00 8.11
Darkish Blue
#014182
ΔE00 8.13
Sapphire (survey)
#2138AB
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C76 #766016
analogous
#165C76 #162C76 #301676
triadic
#162C76 #76162C #2C7616
tetradic
#162C76 #76165C #766016 #167630
square
#162C76 #76165C #766016 #167630
split-complementary
#162C76 #763016 #5C7616
monochromatic
#050A1A #0C1942 #162C76 #203FAA #2E55D8
Accessibility & contrast
On white
12.68
#162C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#162C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C76
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C76 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #162c76; /* rgb */ color: rgb(22, 44, 118); /* oklch */ color: oklch(32.8% 0.130 266.4);
Tailwind
colors: {
custom: {
50: '#65649e',
500: '#162c76',
950: '#000000',
},
}SCSS
$custom: #162c76; $custom-light: #65649e; $custom-dark: #000000;
JSON
{
"hex": "#162c76",
"rgb": {
"r": 22,
"g": 44,
"b": 118
},
"hsl": {
"h": 226.25,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.32795,
"c": 0.12972,
"h": 266.4
},
"luminance": 0.0328
}Semantic roles & 50–950 ramp
primary
#162C76
secondary
#AC923C
accent
#C33CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E