#162B70#162B70
#162B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.122 H 266.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #162B70 |
|---|---|
| RGB | rgb(22, 43, 112) |
| HSL | hsl(226, 67%, 26%) |
| HSV | hsv(226, 80%, 44%) |
| CMYK | cmyk(80.4%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.31, 19.10, -42.27) |
| CIE-LCH | lch(20.31, 46.38, 294.31°) |
| OKLab | oklab(32.02% -0.0076 -0.1221) |
| OKLCH | oklch(32.02% 0.122 266.4) |
| XYZ | xyz(4.1184, 3.0677, 15.7012) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.56
Midnight Blue
#191970
ΔE00 6.11
Marine Blue
#01386A
ΔE00 6.74
Navy Blue
#1B2A4A
ΔE00 7.47
Darkish Blue
#014182
ΔE00 8.42
Royal
#0C1793
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B70 #705B16
analogous
#165870 #162B70 #2E1670
triadic
#162B70 #70162B #2B7016
tetradic
#162B70 #701658 #705B16 #16702E
square
#162B70 #701658 #705B16 #16702E
split-complementary
#162B70 #702E16 #587016
monochromatic
#050A1A #0C173D #162B70 #203FA3 #2B53D5
Accessibility & contrast
On white
13.01
#162B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#162B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B70
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B70 | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #162b70; /* rgb */ color: rgb(22, 43, 112); /* oklch */ color: oklch(32.0% 0.122 266.4);
Tailwind
colors: {
custom: {
50: '#63639a',
500: '#162b70',
950: '#000000',
},
}SCSS
$custom: #162b70; $custom-light: #63639a; $custom-dark: #000000;
JSON
{
"hex": "#162b70",
"rgb": {
"r": 22,
"g": 43,
"b": 112
},
"hsl": {
"h": 226,
"s": 67.164,
"l": 26.275
},
"oklch": {
"l": 0.3202,
"c": 0.12232,
"h": 266.4
},
"luminance": 0.03068
}Semantic roles & 50–950 ramp
primary
#162B70
secondary
#A68D3C
accent
#C23EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E