#161786#161786
#161786 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.174 H 269.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #161786 |
|---|---|
| RGB | rgb(22, 23, 134) |
| HSL | hsl(239, 72%, 31%) |
| HSV | hsv(239, 84%, 53%) |
| CMYK | cmyk(83.6%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(17.94, 40.30, -60.21) |
| CIE-LCH | lch(17.94, 72.45, 303.80°) |
| OKLab | oklab(31% -0.0005 -0.1743) |
| OKLCH | oklch(31% 0.174 269.8) |
| XYZ | xyz(4.9389, 2.5040, 22.7727) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.86
Midnight Blue
#191970
ΔE00 3.58
Darkblue
#00008B
ΔE00 3.71
Navy
#000080
ΔE00 4.02
Dark Royal Blue
#02066F
ΔE00 4.65
Deep Blue
#040273
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161786 #868516
analogous
#164F86 #161786 #4D1686
triadic
#161786 #861617 #178616
tetradic
#161786 #86164F #868516 #16864D
square
#161786 #86164F #868516 #16864D
split-complementary
#161786 #864D16 #4F8616
monochromatic
#05051D #0D0E51 #161786 #1F20BB #383ADE
Accessibility & contrast
On white
13.99
#161786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#161786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161786
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161786 | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #161786; /* rgb */ color: rgb(22, 23, 134); /* oklch */ color: oklch(31.0% 0.174 269.8);
Tailwind
colors: {
custom: {
50: '#6b57ab',
500: '#161786',
950: '#000000',
},
}SCSS
$custom: #161786; $custom-light: #6b57ab; $custom-dark: #000000;
JSON
{
"hex": "#161786",
"rgb": {
"r": 22,
"g": 23,
"b": 134
},
"hsl": {
"h": 239.464,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.31001,
"c": 0.17434,
"h": 269.8
},
"luminance": 0.02505
}Semantic roles & 50–950 ramp
primary
#161786
secondary
#BAB93E
accent
#ED39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F