#16178F#16178F
#16178F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.185 H 269.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #16178F |
|---|---|
| RGB | rgb(22, 23, 143) |
| HSL | hsl(240, 73%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(84.6%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(19.08, 43.27, -63.95) |
| CIE-LCH | lch(19.08, 77.21, 304.09°) |
| OKLab | oklab(32.12% -0.0024 -0.1851) |
| OKLCH | oklch(32.12% 0.185 269.3) |
| XYZ | xyz(5.5935, 2.7659, 26.2203) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.69
Cobalt Blue
#030AA7
ΔE00 3.55
Darkblue
#00008B
ΔE00 3.64
Royal Blue (survey)
#0504AA
ΔE00 4.12
Navy
#000080
ΔE00 4.43
Midnight Blue
#191970
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16178F #8F8E16
analogous
#16548F #16178F #51168F
triadic
#16178F #8F1617 #178F16
tetradic
#16178F #8F1654 #8F8E16 #168F51
square
#16178F #8F1654 #8F8E16 #168F51
split-complementary
#16178F #8F5116 #548F16
monochromatic
#060625 #0E0E5A #16178F #1E20C4 #3E3FE1
Accessibility & contrast
On white
13.52
#16178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#16178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16178F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16178F | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #16178f; /* rgb */ color: rgb(22, 23, 143); /* oklch */ color: oklch(32.1% 0.185 269.3);
Tailwind
colors: {
custom: {
50: '#6e58b1',
500: '#16178f',
950: '#000000',
},
}SCSS
$custom: #16178f; $custom-light: #6e58b1; $custom-dark: #000000;
JSON
{
"hex": "#16178f",
"rgb": {
"r": 22,
"g": 23,
"b": 143
},
"hsl": {
"h": 239.504,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32124,
"c": 0.18517,
"h": 269.3
},
"luminance": 0.02767
}Semantic roles & 50–950 ramp
primary
#16178F
secondary
#C1C03F
accent
#EE38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880