#162180#162180
#162180 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.157 H 269.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #162180 |
|---|---|
| RGB | rgb(22, 33, 128) |
| HSL | hsl(234, 71%, 29%) |
| HSV | hsv(234, 83%, 50%) |
| CMYK | cmyk(82.8%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(19.29, 32.30, -54.17) |
| CIE-LCH | lch(19.29, 63.07, 300.81°) |
| OKLab | oklab(31.75% -0.0027 -0.1569) |
| OKLCH | oklch(31.75% 0.157 269) |
| XYZ | xyz(4.7697, 2.8162, 20.7101) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 3.90
Dark Royal Blue
#02066F
ΔE00 6.25
Darkblue
#00008B
ΔE00 6.50
Navy
#000080
ΔE00 6.57
Deep Blue
#040273
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162180 #807516
analogous
#165680 #162180 #401680
triadic
#162180 #801621 #218016
tetradic
#162180 #801656 #807516 #168040
square
#162180 #801656 #807516 #168040
split-complementary
#162180 #804016 #568016
monochromatic
#04071A #0D144C #162180 #1F2EB4 #3446DC
Accessibility & contrast
On white
13.43
#162180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#162180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162180
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162180 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #162180; /* rgb */ color: rgb(22, 33, 128); /* oklch */ color: oklch(31.8% 0.157 269.0);
Tailwind
colors: {
custom: {
50: '#695da6',
500: '#162180',
950: '#000000',
},
}SCSS
$custom: #162180; $custom-light: #695da6; $custom-dark: #000000;
JSON
{
"hex": "#162180",
"rgb": {
"r": 22,
"g": 33,
"b": 128
},
"hsl": {
"h": 233.774,
"s": 70.667,
"l": 29.412
},
"oklch": {
"l": 0.31753,
"c": 0.15696,
"h": 269
},
"luminance": 0.02817
}Semantic roles & 50–950 ramp
primary
#162180
secondary
#B5A83D
accent
#DB3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F