#16157F#16157F
#16157F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.167 H 270.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #16157F |
|---|---|
| RGB | rgb(22, 21, 127) |
| HSL | hsl(241, 72%, 29%) |
| HSV | hsv(241, 83%, 50%) |
| CMYK | cmyk(82.7%, 83.5%, 0%, 50.2%) |
| CIE-LAB | lab(16.69, 39.00, -57.84) |
| CIE-LCH | lch(16.69, 69.76, 303.99°) |
| OKLab | oklab(29.88% 0.0015 -0.1674) |
| OKLCH | oklch(29.88% 0.167 270.5) |
| XYZ | xyz(4.4285, 2.2387, 20.2733) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 2.89
Navy
#000080
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 3.70
Darkblue
#00008B
ΔE00 3.72
Deep Blue
#040273
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16157F #7E7F15
analogous
#15497F #16157F #4B157F
triadic
#16157F #7F1615 #157F16
tetradic
#16157F #7F1549 #7E7F15 #157F4B
square
#16157F #7F1549 #7E7F15 #157F4B
split-complementary
#16157F #7F4B15 #497F15
monochromatic
#05041A #0D0C4A #16157F #1F1EB4 #3331DD
Accessibility & contrast
On white
14.50
#16157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#16157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16157F
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16157F | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #16157f; /* rgb */ color: rgb(22, 21, 127); /* oklch */ color: oklch(29.9% 0.167 270.5);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#16157f',
950: '#000000',
},
}SCSS
$custom: #16157f; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#16157f",
"rgb": {
"r": 22,
"g": 21,
"b": 127
},
"hsl": {
"h": 240.566,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.2988,
"c": 0.16745,
"h": 270.5
},
"luminance": 0.02239
}Semantic roles & 50–950 ramp
primary
#16157F
secondary
#B3B43C
accent
#EE39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F