#16187E#16187E
#16187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.164 H 270.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #16187E |
|---|---|
| RGB | rgb(22, 24, 126) |
| HSL | hsl(239, 70%, 29%) |
| HSV | hsv(239, 83%, 49%) |
| CMYK | cmyk(82.5%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.13, 37.03, -56.48) |
| CIE-LCH | lch(17.13, 67.53, 303.25°) |
| OKLab | oklab(30.15% 0.0009 -0.1635) |
| OKLCH | oklch(30.15% 0.164 270.3) |
| XYZ | xyz(4.4221, 2.3297, 19.9512) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.33
Royal
#0C1793
ΔE00 3.07
Dark Royal Blue
#02066F
ΔE00 4.13
Navy
#000080
ΔE00 4.29
Darkblue
#00008B
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16187E #7E7C16
analogous
#164C7E #16187E #48167E
triadic
#16187E #7E1618 #187E16
tetradic
#16187E #7E164C #7E7C16 #167E48
square
#16187E #7E164C #7E7C16 #167E48
split-complementary
#16187E #7E4816 #4C7E16
monochromatic
#05051A #0D0E4A #16187E #1F22B2 #3336DB
Accessibility & contrast
On white
14.32
#16187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#16187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16187E
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16187E | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #16187e; /* rgb */ color: rgb(22, 24, 126); /* oklch */ color: oklch(30.1% 0.164 270.3);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#16187e',
950: '#000000',
},
}SCSS
$custom: #16187e; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#16187e",
"rgb": {
"r": 22,
"g": 24,
"b": 126
},
"hsl": {
"h": 238.846,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.30149,
"c": 0.16355,
"h": 270.3
},
"luminance": 0.0233
}Semantic roles & 50–950 ramp
primary
#16187E
secondary
#B3B13D
accent
#EA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F