#16178E#16178E
#16178E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.184 H 269.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #16178E |
|---|---|
| RGB | rgb(22, 23, 142) |
| HSL | hsl(240, 73%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(84.5%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(18.95, 42.95, -63.53) |
| CIE-LCH | lch(18.95, 76.69, 304.06°) |
| OKLab | oklab(32% -0.0022 -0.184) |
| OKLCH | oklch(32% 0.184 269.3) |
| XYZ | xyz(5.5181, 2.7357, 25.8232) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.80
Darkblue
#00008B
ΔE00 3.62
Cobalt Blue
#030AA7
ΔE00 3.68
Royal Blue (survey)
#0504AA
ΔE00 4.24
Navy
#000080
ΔE00 4.36
Midnight Blue
#191970
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16178E #8E8D16
analogous
#16538E #16178E #51168E
triadic
#16178E #8E1617 #178E16
tetradic
#16178E #8E1653 #8E8D16 #168E51
square
#16178E #8E1653 #8E8D16 #168E51
split-complementary
#16178E #8E5116 #538E16
monochromatic
#060624 #0E0E59 #16178E #1E20C3 #3D3FE1
Accessibility & contrast
On white
13.57
#16178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#16178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16178E
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16178E | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #16178e; /* rgb */ color: rgb(22, 23, 142); /* oklch */ color: oklch(32.0% 0.184 269.3);
Tailwind
colors: {
custom: {
50: '#6e58b0',
500: '#16178e',
950: '#000000',
},
}SCSS
$custom: #16178e; $custom-light: #6e58b0; $custom-dark: #000000;
JSON
{
"hex": "#16178e",
"rgb": {
"r": 22,
"g": 23,
"b": 142
},
"hsl": {
"h": 239.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.31999,
"c": 0.18398,
"h": 269.3
},
"luminance": 0.02736
}Semantic roles & 50–950 ramp
primary
#16178E
secondary
#C1C03F
accent
#EE38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880