#162C72#162C72
#162C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.124 H 266.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #162C72 |
|---|---|
| RGB | rgb(22, 44, 114) |
| HSL | hsl(226, 68%, 27%) |
| HSV | hsv(226, 81%, 45%) |
| CMYK | cmyk(80.7%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(20.78, 19.20, -42.80) |
| CIE-LCH | lch(20.78, 46.91, 294.16°) |
| OKLab | oklab(32.42% -0.0083 -0.1236) |
| OKLCH | oklch(32.42% 0.124 266.2) |
| XYZ | xyz(4.2678, 3.1864, 16.3064) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.57
Midnight Blue
#191970
ΔE00 6.32
Marine Blue
#01386A
ΔE00 6.54
Navy Blue
#1B2A4A
ΔE00 7.67
Darkish Blue
#014182
ΔE00 8.09
Royal
#0C1793
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C72 #725C16
analogous
#165A72 #162C72 #2E1672
triadic
#162C72 #72162C #2C7216
tetradic
#162C72 #72165A #725C16 #16722E
square
#162C72 #72165A #725C16 #16722E
split-complementary
#162C72 #722E16 #5A7216
monochromatic
#050A1A #0C183F #162C72 #2040A5 #2C55D6
Accessibility & contrast
On white
12.83
#162C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#162C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C72
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C72 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #162c72; /* rgb */ color: rgb(22, 44, 114); /* oklch */ color: oklch(32.4% 0.124 266.2);
Tailwind
colors: {
custom: {
50: '#63649b',
500: '#162c72',
950: '#000000',
},
}SCSS
$custom: #162c72; $custom-light: #63649b; $custom-dark: #000000;
JSON
{
"hex": "#162c72",
"rgb": {
"r": 22,
"g": 44,
"b": 114
},
"hsl": {
"h": 225.652,
"s": 67.647,
"l": 26.667
},
"oklch": {
"l": 0.3242,
"c": 0.12391,
"h": 266.2
},
"luminance": 0.03187
}Semantic roles & 50–950 ramp
primary
#162C72
secondary
#A88E3C
accent
#C13DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E