#16157B#16157B
#16157B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.163 H 270.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #16157B |
|---|---|
| RGB | rgb(22, 21, 123) |
| HSL | hsl(241, 71%, 28%) |
| HSV | hsv(241, 83%, 48%) |
| CMYK | cmyk(82.1%, 82.9%, 0%, 51.8%) |
| CIE-LAB | lab(16.19, 37.65, -56.12) |
| CIE-LCH | lch(16.19, 67.58, 303.85°) |
| OKLab | oklab(29.38% 0.0024 -0.1625) |
| OKLCH | oklch(29.38% 0.163 270.9) |
| XYZ | xyz(4.1730, 2.1365, 18.9275) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.20
Dark Royal Blue
#02066F
ΔE00 3.39
Royal
#0C1793
ΔE00 3.49
Deep Blue
#040273
ΔE00 3.69
Navy
#000080
ΔE00 3.74
Darkblue
#00008B
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16157B #7A7B15
analogous
#15477B #16157B #49157B
triadic
#16157B #7B1615 #157B16
tetradic
#16157B #7B1547 #7A7B15 #157B49
square
#16157B #7B1547 #7A7B15 #157B49
split-complementary
#16157B #7B4915 #477B15
monochromatic
#05041A #0D0C47 #16157B #1F1EAF #312FDB
Accessibility & contrast
On white
14.71
#16157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#16157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16157B
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16157B | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #16157b; /* rgb */ color: rgb(22, 21, 123); /* oklch */ color: oklch(29.4% 0.163 270.9);
Tailwind
colors: {
custom: {
50: '#6855a2',
500: '#16157b',
950: '#000000',
},
}SCSS
$custom: #16157b; $custom-light: #6855a2; $custom-dark: #000000;
JSON
{
"hex": "#16157b",
"rgb": {
"r": 22,
"g": 21,
"b": 123
},
"hsl": {
"h": 240.588,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29382,
"c": 0.1625,
"h": 270.9
},
"luminance": 0.02137
}Semantic roles & 50–950 ramp
primary
#16157B
secondary
#AFB03B
accent
#EE3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F