#162189#162189
#162189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.169 H 268.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #162189 |
|---|---|
| RGB | rgb(22, 33, 137) |
| HSL | hsl(234, 72%, 31%) |
| HSV | hsv(234, 84%, 54%) |
| CMYK | cmyk(83.9%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(20.30, 35.62, -58.18) |
| CIE-LCH | lch(20.30, 68.22, 301.48°) |
| OKLab | oklab(32.77% -0.0039 -0.1686) |
| OKLCH | oklch(32.77% 0.169 268.7) |
| XYZ | xyz(5.3885, 3.0638, 23.9694) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Midnight Blue
#191970
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 5.74
Darkblue
#00008B
ΔE00 6.00
Royal Blue (survey)
#0504AA
ΔE00 6.36
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162189 #897E16
analogous
#165A89 #162189 #441689
triadic
#162189 #891621 #218916
tetradic
#162189 #89165A #897E16 #168944
square
#162189 #89165A #897E16 #168944
split-complementary
#162189 #894416 #5A8916
monochromatic
#050820 #0E1454 #162189 #1E2EBE #3A4ADF
Accessibility & contrast
On white
13.02
#162189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#162189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162189
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162189 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #162189; /* rgb */ color: rgb(22, 33, 137); /* oklch */ color: oklch(32.8% 0.169 268.7);
Tailwind
colors: {
custom: {
50: '#6b5dad',
500: '#162189',
950: '#000000',
},
}SCSS
$custom: #162189; $custom-light: #6b5dad; $custom-dark: #000000;
JSON
{
"hex": "#162189",
"rgb": {
"r": 22,
"g": 33,
"b": 137
},
"hsl": {
"h": 234.261,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.32771,
"c": 0.16864,
"h": 268.7
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#162189
secondary
#BDB13E
accent
#DE39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F