#161789#161789
#161789 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.178 H 269.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #161789 |
|---|---|
| RGB | rgb(22, 23, 137) |
| HSL | hsl(239, 72%, 31%) |
| HSV | hsv(239, 84%, 54%) |
| CMYK | cmyk(83.9%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.32, 41.30, -61.46) |
| CIE-LCH | lch(18.32, 74.05, 303.90°) |
| OKLab | oklab(31.37% -0.0011 -0.178) |
| OKLCH | oklch(31.37% 0.178 269.6) |
| XYZ | xyz(5.1511, 2.5889, 23.8903) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.44
Darkblue
#00008B
ΔE00 3.63
Midnight Blue
#191970
ΔE00 4.01
Navy
#000080
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.34
Royal Blue (survey)
#0504AA
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161789 #898816
analogous
#165089 #161789 #4E1689
triadic
#161789 #891617 #178916
tetradic
#161789 #891650 #898816 #16894E
square
#161789 #891650 #898816 #16894E
split-complementary
#161789 #894E16 #508916
monochromatic
#050520 #0E0E54 #161789 #1E20BE #3A3BDF
Accessibility & contrast
On white
13.83
#161789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#161789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161789
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161789 | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #161789; /* rgb */ color: rgb(22, 23, 137); /* oklch */ color: oklch(31.4% 0.178 269.6);
Tailwind
colors: {
custom: {
50: '#6c57ad',
500: '#161789',
950: '#000000',
},
}SCSS
$custom: #161789; $custom-light: #6c57ad; $custom-dark: #000000;
JSON
{
"hex": "#161789",
"rgb": {
"r": 22,
"g": 23,
"b": 137
},
"hsl": {
"h": 239.478,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.31374,
"c": 0.17798,
"h": 269.6
},
"luminance": 0.0259
}Semantic roles & 50–950 ramp
primary
#161789
secondary
#BDBC3E
accent
#ED39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F