#161799#161799
#161799 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.197 H 268.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #161799 |
|---|---|
| RGB | rgb(22, 23, 153) |
| HSL | hsl(240, 75%, 34%) |
| HSV | hsv(240, 86%, 60%) |
| CMYK | cmyk(85.6%, 85%, 0%, 40%) |
| CIE-LAB | lab(20.37, 46.48, -67.99) |
| CIE-LCH | lch(20.37, 82.36, 304.36°) |
| OKLab | oklab(33.39% -0.0044 -0.1968) |
| OKLCH | oklch(33.39% 0.197 268.7) |
| XYZ | xyz(6.3851, 3.0825, 30.3893) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.06
Cobalt Blue
#030AA7
ΔE00 2.42
Royal Blue (survey)
#0504AA
ΔE00 3.02
Ultramarine
#2000B1
ΔE00 3.95
Darkblue
#00008B
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161799 #999816
analogous
#165999 #161799 #571699
triadic
#161799 #991617 #179916
tetradic
#161799 #991659 #999816 #169957
square
#161799 #991659 #999816 #169957
split-complementary
#161799 #995716 #599916
monochromatic
#07072E #0E0F63 #161799 #1E1FCF #4546E4
Accessibility & contrast
On white
12.99
#161799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#161799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161799
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161799 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002A97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #161799; /* rgb */ color: rgb(22, 23, 153); /* oklch */ color: oklch(33.4% 0.197 268.7);
Tailwind
colors: {
custom: {
50: '#7158b9',
500: '#161799',
950: '#000000',
},
}SCSS
$custom: #161799; $custom-light: #7158b9; $custom-dark: #000000;
JSON
{
"hex": "#161799",
"rgb": {
"r": 22,
"g": 23,
"b": 153
},
"hsl": {
"h": 239.542,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.33385,
"c": 0.1969,
"h": 268.7
},
"luminance": 0.03083
}Semantic roles & 50–950 ramp
primary
#161799
secondary
#C5C446
accent
#F036F1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981