#161F56#161F56
#161F56 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.100 H 271.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).
Color values
| HEX | #161F56 |
|---|---|
| RGB | rgb(22, 31, 86) |
| HSL | hsl(232, 59%, 21%) |
| HSV | hsv(232, 74%, 34%) |
| CMYK | cmyk(74.4%, 64%, 0%, 66.3%) |
| CIE-LAB | lab(14.53, 17.12, -34.56) |
| CIE-LCH | lch(14.53, 38.57, 296.36°) |
| OKLab | oklab(26.98% 0.0018 -0.0996) |
| OKLCH | oklch(26.98% 0.1 271) |
| XYZ | xyz(2.5000, 1.8222, 9.0223) |
| Luminance | 0.0182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 4.39
Navy (survey)
#01153E
ΔE00 4.99
Midnight Blue
#191970
ΔE00 6.11
Navy Blue
#1B2A4A
ΔE00 6.27
Marine
#042E60
ΔE00 6.75
Dark Navy
#000435
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161F56 #564D16
analogous
#163F56 #161F56 #2D1656
triadic
#161F56 #56161F #1F5616
tetradic
#161F56 #56163F #564D16 #16562D
square
#161F56 #56163F #564D16 #16562D
split-complementary
#161F56 #562D16 #3F5616
monochromatic
#060918 #0A0D25 #161F56 #223187 #2F42B7
Accessibility & contrast
On white
15.39
#161F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#161F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161F56
15.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161F56 | 1.00 | 15.39 | 1.36 | 15.39 |
| #FFFFFF | 15.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #161f56; /* rgb */ color: rgb(22, 31, 86); /* oklch */ color: oklch(27.0% 0.100 271.0);
Tailwind
colors: {
custom: {
50: '#5d5a86',
500: '#161f56',
950: '#000000',
},
}SCSS
$custom: #161f56; $custom-light: #5d5a86; $custom-dark: #000000;
JSON
{
"hex": "#161f56",
"rgb": {
"r": 22,
"g": 31,
"b": 86
},
"hsl": {
"h": 231.563,
"s": 59.259,
"l": 21.176
},
"oklch": {
"l": 0.26981,
"c": 0.09964,
"h": 271
},
"luminance": 0.01822
}Semantic roles & 50–950 ramp
primary
#161F56
secondary
#8D823A
accent
#CC45E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C