#162C89#162C89
#162C89 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.156 H 266.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #162C89 |
|---|---|
| RGB | rgb(22, 44, 137) |
| HSL | hsl(229, 72%, 31%) |
| HSV | hsv(229, 84%, 54%) |
| CMYK | cmyk(83.9%, 67.9%, 0%, 46.3%) |
| CIE-LAB | lab(22.92, 28.46, -53.86) |
| CIE-LCH | lch(22.92, 60.91, 297.86°) |
| OKLab | oklab(34.67% -0.0085 -0.156) |
| OKLCH | oklch(34.67% 0.156 266.9) |
| XYZ | xyz(5.7453, 3.7774, 24.0884) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.66
Royal
#0C1793
ΔE00 5.88
Midnight Blue
#191970
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 7.73
Blueberry
#464196
ΔE00 7.79
Marine
#042E60
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C89 #897316
analogous
#166589 #162C89 #391689
triadic
#162C89 #89162C #2C8916
tetradic
#162C89 #891665 #897316 #168939
square
#162C89 #891665 #897316 #168939
split-complementary
#162C89 #893916 #658916
monochromatic
#050A20 #0E1B54 #162C89 #1E3DBE #3A5ADF
Accessibility & contrast
On white
11.96
#162C89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#162C89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C89
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C89 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #162c89; /* rgb */ color: rgb(22, 44, 137); /* oklch */ color: oklch(34.7% 0.156 266.9);
Tailwind
colors: {
custom: {
50: '#6a65ac',
500: '#162c89',
950: '#000000',
},
}SCSS
$custom: #162c89; $custom-light: #6a65ac; $custom-dark: #000000;
JSON
{
"hex": "#162c89",
"rgb": {
"r": 22,
"g": 44,
"b": 137
},
"hsl": {
"h": 228.522,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.34669,
"c": 0.15623,
"h": 266.9
},
"luminance": 0.03778
}Semantic roles & 50–950 ramp
primary
#162C89
secondary
#BDA53E
accent
#CC39EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F