#16157E#16157E
#16157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 270.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #16157E |
|---|---|
| RGB | rgb(22, 21, 126) |
| HSL | hsl(241, 71%, 29%) |
| HSV | hsv(241, 83%, 49%) |
| CMYK | cmyk(82.5%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.57, 38.66, -57.41) |
| CIE-LCH | lch(16.57, 69.22, 303.96°) |
| OKLab | oklab(29.76% 0.0018 -0.1662) |
| OKLCH | oklch(29.76% 0.166 270.6) |
| XYZ | xyz(4.3637, 2.2128, 19.9317) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 3.04
Dark Royal Blue
#02066F
ΔE00 3.61
Navy
#000080
ΔE00 3.62
Darkblue
#00008B
ΔE00 3.81
Deep Blue
#040273
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16157E #7D7E15
analogous
#15497E #16157E #4B157E
triadic
#16157E #7E1615 #157E16
tetradic
#16157E #7E1549 #7D7E15 #157E4B
square
#16157E #7E1549 #7D7E15 #157E4B
split-complementary
#16157E #7E4B15 #497E15
monochromatic
#05041A #0D0C4A #16157E #1F1EB2 #3231DD
Accessibility & contrast
On white
14.56
#16157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#16157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16157E
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16157E | 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)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #16157e; /* rgb */ color: rgb(22, 21, 126); /* oklch */ color: oklch(29.8% 0.166 270.6);
Tailwind
colors: {
custom: {
50: '#6955a5',
500: '#16157e',
950: '#000000',
},
}SCSS
$custom: #16157e; $custom-light: #6955a5; $custom-dark: #000000;
JSON
{
"hex": "#16157e",
"rgb": {
"r": 22,
"g": 21,
"b": 126
},
"hsl": {
"h": 240.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.29755,
"c": 0.16622,
"h": 270.6
},
"luminance": 0.02213
}Semantic roles & 50–950 ramp
primary
#16157E
secondary
#B2B33C
accent
#EE3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F