#161871#161871
#161871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 271.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #161871 |
|---|---|
| RGB | rgb(22, 24, 113) |
| HSL | hsl(239, 67%, 26%) |
| HSV | hsv(239, 81%, 44%) |
| CMYK | cmyk(80.5%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(15.57, 32.42, -50.71) |
| CIE-LCH | lch(15.57, 60.18, 302.59°) |
| OKLab | oklab(28.59% 0.0035 -0.1468) |
| OKLCH | oklch(28.59% 0.147 271.4) |
| XYZ | xyz(3.6371, 2.0157, 15.8170) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.41
Dark Royal Blue
#02066F
ΔE00 3.85
Darkblue (survey)
#030764
ΔE00 4.07
Deep Blue
#040273
ΔE00 4.53
Royal
#0C1793
ΔE00 5.14
Navy
#000080
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161871 #716F16
analogous
#164671 #161871 #421671
triadic
#161871 #711618 #187116
tetradic
#161871 #711646 #716F16 #167142
square
#161871 #711646 #716F16 #167142
split-complementary
#161871 #714216 #467116
monochromatic
#05051A #0C0D3E #161871 #2023A4 #2C2FD6
Accessibility & contrast
On white
14.97
#161871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#161871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161871
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161871 | 1.00 | 14.97 | 1.40 | 14.97 |
| #FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #161871; /* rgb */ color: rgb(22, 24, 113); /* oklch */ color: oklch(28.6% 0.147 271.4);
Tailwind
colors: {
custom: {
50: '#65569b',
500: '#161871',
950: '#000000',
},
}SCSS
$custom: #161871; $custom-light: #65569b; $custom-dark: #000000;
JSON
{
"hex": "#161871",
"rgb": {
"r": 22,
"g": 24,
"b": 113
},
"hsl": {
"h": 238.681,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.28592,
"c": 0.14685,
"h": 271.4
},
"luminance": 0.02016
}Semantic roles & 50–950 ramp
primary
#161871
secondary
#A7A53C
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E