#162B76#162B76
#162B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 266.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #162B76 |
|---|---|
| RGB | rgb(22, 43, 118) |
| HSL | hsl(227, 69%, 27%) |
| HSV | hsv(227, 81%, 46%) |
| CMYK | cmyk(81.4%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(20.85, 21.56, -45.25) |
| CIE-LCH | lch(20.85, 50.12, 295.47°) |
| OKLab | oklab(32.59% -0.0075 -0.1308) |
| OKLCH | oklch(32.59% 0.131 266.7) |
| XYZ | xyz(4.4636, 3.2058, 17.5196) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.37
Midnight Blue
#191970
ΔE00 5.71
Marine Blue
#01386A
ΔE00 7.17
Royal
#0C1793
ΔE00 7.82
Sapphire (survey)
#2138AB
ΔE00 8.31
Navy Blue
#1B2A4A
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B76 #766116
analogous
#165B76 #162B76 #311676
triadic
#162B76 #76162B #2B7616
tetradic
#162B76 #76165B #766116 #167631
square
#162B76 #76165B #766116 #167631
split-complementary
#162B76 #763116 #5B7616
monochromatic
#05091A #0C1842 #162B76 #203EAA #2E53D8
Accessibility & contrast
On white
12.80
#162B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#162B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B76
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B76 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #162b76; /* rgb */ color: rgb(22, 43, 118); /* oklch */ color: oklch(32.6% 0.131 266.7);
Tailwind
colors: {
custom: {
50: '#65649e',
500: '#162b76',
950: '#000000',
},
}SCSS
$custom: #162b76; $custom-light: #65649e; $custom-dark: #000000;
JSON
{
"hex": "#162b76",
"rgb": {
"r": 22,
"g": 43,
"b": 118
},
"hsl": {
"h": 226.875,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.32587,
"c": 0.13103,
"h": 266.7
},
"luminance": 0.03206
}Semantic roles & 50–950 ramp
primary
#162B76
secondary
#AC933C
accent
#C53CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E