#16187F#16187F
#16187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.165 H 270.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #16187F |
|---|---|
| RGB | rgb(22, 24, 127) |
| HSL | hsl(239, 70%, 29%) |
| HSV | hsv(239, 83%, 50%) |
| CMYK | cmyk(82.7%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.25, 37.38, -56.91) |
| CIE-LCH | lch(17.25, 68.09, 303.30°) |
| OKLab | oklab(30.27% 0.0007 -0.1648) |
| OKLCH | oklch(30.27% 0.165 270.2) |
| XYZ | xyz(4.4870, 2.3556, 20.2928) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 2.91
Dark Royal Blue
#02066F
ΔE00 4.19
Navy
#000080
ΔE00 4.26
Darkblue
#00008B
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16187F #7F7D16
analogous
#164D7F #16187F #49167F
triadic
#16187F #7F1618 #187F16
tetradic
#16187F #7F164D #7F7D16 #167F49
square
#16187F #7F164D #7F7D16 #167F49
split-complementary
#16187F #7F4916 #4D7F16
monochromatic
#05051A #0D0E4B #16187F #1F22B3 #3437DC
Accessibility & contrast
On white
14.27
#16187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#16187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16187F
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16187F | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #16187f; /* rgb */ color: rgb(22, 24, 127); /* oklch */ color: oklch(30.3% 0.165 270.2);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#16187f',
950: '#000000',
},
}SCSS
$custom: #16187f; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#16187f",
"rgb": {
"r": 22,
"g": 24,
"b": 127
},
"hsl": {
"h": 238.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30271,
"c": 0.16481,
"h": 270.2
},
"luminance": 0.02356
}Semantic roles & 50–950 ramp
primary
#16187F
secondary
#B4B23D
accent
#EA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F