#16177E#16177E
#16177E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 270.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #16177E |
|---|---|
| RGB | rgb(22, 23, 126) |
| HSL | hsl(239, 70%, 29%) |
| HSV | hsv(239, 83%, 49%) |
| CMYK | cmyk(82.5%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.94, 37.59, -56.80) |
| CIE-LCH | lch(16.94, 68.11, 303.50°) |
| OKLab | oklab(30.01% 0.0012 -0.1645) |
| OKLCH | oklch(30.01% 0.164 270.4) |
| XYZ | xyz(4.4019, 2.2892, 19.9445) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 3.04
Dark Royal Blue
#02066F
ΔE00 3.94
Navy
#000080
ΔE00 4.06
Darkblue
#00008B
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16177E #7E7D16
analogous
#164B7E #16177E #49167E
triadic
#16177E #7E1617 #177E16
tetradic
#16177E #7E164B #7E7D16 #167E49
square
#16177E #7E164B #7E7D16 #167E49
split-complementary
#16177E #7E4916 #4B7E16
monochromatic
#05051A #0D0D4A #16177E #1F21B2 #3335DB
Accessibility & contrast
On white
14.40
#16177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#16177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16177E
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16177E | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #16177e; /* rgb */ color: rgb(22, 23, 126); /* oklch */ color: oklch(30.0% 0.164 270.4);
Tailwind
colors: {
custom: {
50: '#6956a5',
500: '#16177e',
950: '#000000',
},
}SCSS
$custom: #16177e; $custom-light: #6956a5; $custom-dark: #000000;
JSON
{
"hex": "#16177e",
"rgb": {
"r": 22,
"g": 23,
"b": 126
},
"hsl": {
"h": 239.423,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.30014,
"c": 0.16446,
"h": 270.4
},
"luminance": 0.0229
}Semantic roles & 50–950 ramp
primary
#16177E
secondary
#B3B23D
accent
#EB3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F