#16177B#16177B
#16177B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.161 H 270.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #16177B |
|---|---|
| RGB | rgb(22, 23, 123) |
| HSL | hsl(239, 70%, 28%) |
| HSV | hsv(239, 82%, 48%) |
| CMYK | cmyk(82.1%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(16.57, 36.55, -55.49) |
| CIE-LCH | lch(16.57, 66.45, 303.37°) |
| OKLab | oklab(29.65% 0.0018 -0.1607) |
| OKLCH | oklch(29.65% 0.161 270.7) |
| XYZ | xyz(4.2112, 2.2129, 18.9402) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.96
Royal
#0C1793
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 3.76
Deep Blue
#040273
ΔE00 4.12
Navy
#000080
ΔE00 4.18
Darkblue
#00008B
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16177B #7B7A16
analogous
#16497B #16177B #47167B
triadic
#16177B #7B1617 #177B16
tetradic
#16177B #7B1649 #7B7A16 #167B47
square
#16177B #7B1649 #7B7A16 #167B47
split-complementary
#16177B #7B4716 #497B16
monochromatic
#05051A #0D0D47 #16177B #1F21AF #3133DA
Accessibility & contrast
On white
14.56
#16177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#16177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16177B
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16177B | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #16177b; /* rgb */ color: rgb(22, 23, 123); /* oklch */ color: oklch(29.6% 0.161 270.7);
Tailwind
colors: {
custom: {
50: '#6856a2',
500: '#16177b',
950: '#000000',
},
}SCSS
$custom: #16177b; $custom-light: #6856a2; $custom-dark: #000000;
JSON
{
"hex": "#16177b",
"rgb": {
"r": 22,
"g": 23,
"b": 123
},
"hsl": {
"h": 239.406,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.29647,
"c": 0.1607,
"h": 270.7
},
"luminance": 0.02213
}Semantic roles & 50–950 ramp
primary
#16177B
secondary
#B0AF3D
accent
#EB3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F