#162B71#162B71
#162B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 266.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #162B71 |
|---|---|
| RGB | rgb(22, 43, 113) |
| HSL | hsl(226, 67%, 26%) |
| HSV | hsv(226, 81%, 44%) |
| CMYK | cmyk(80.5%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.40, 19.51, -42.77) |
| CIE-LCH | lch(20.40, 47.01, 294.52°) |
| OKLab | oklab(32.11% -0.0076 -0.1235) |
| OKLCH | oklch(32.11% 0.124 266.5) |
| XYZ | xyz(4.1743, 3.0901, 15.9960) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.69
Midnight Blue
#191970
ΔE00 6.03
Marine Blue
#01386A
ΔE00 6.81
Navy Blue
#1B2A4A
ΔE00 7.63
Darkish Blue
#014182
ΔE00 8.42
Royal
#0C1793
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B71 #715C16
analogous
#165971 #162B71 #2F1671
triadic
#162B71 #71162B #2B7116
tetradic
#162B71 #711659 #715C16 #16712F
square
#162B71 #711659 #715C16 #16712F
split-complementary
#162B71 #712F16 #597116
monochromatic
#050A1A #0C183E #162B71 #203EA4 #2C53D6
Accessibility & contrast
On white
12.98
#162B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#162B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B71
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B71 | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #162b71; /* rgb */ color: rgb(22, 43, 113); /* oklch */ color: oklch(32.1% 0.124 266.5);
Tailwind
colors: {
custom: {
50: '#63639a',
500: '#162b71',
950: '#000000',
},
}SCSS
$custom: #162b71; $custom-light: #63639a; $custom-dark: #000000;
JSON
{
"hex": "#162b71",
"rgb": {
"r": 22,
"g": 43,
"b": 113
},
"hsl": {
"h": 226.154,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.32113,
"c": 0.12378,
"h": 266.5
},
"luminance": 0.03091
}Semantic roles & 50–950 ramp
primary
#162B71
secondary
#A78E3C
accent
#C23EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E