#16178C#16178C
#16178C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.182 H 269.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #16178C |
|---|---|
| RGB | rgb(22, 23, 140) |
| HSL | hsl(239, 73%, 32%) |
| HSV | hsv(239, 84%, 55%) |
| CMYK | cmyk(84.3%, 83.6%, 0%, 45.1%) |
| CIE-LAB | lab(18.70, 42.29, -62.71) |
| CIE-LCH | lch(18.70, 75.64, 304.00°) |
| OKLab | oklab(31.75% -0.0017 -0.1816) |
| OKLCH | oklch(31.75% 0.182 269.5) |
| XYZ | xyz(5.3693, 2.6762, 25.0394) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.04
Darkblue
#00008B
ΔE00 3.60
Cobalt Blue
#030AA7
ΔE00 3.94
Navy
#000080
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16178C #8C8B16
analogous
#16528C #16178C #50168C
triadic
#16178C #8C1617 #178C16
tetradic
#16178C #8C1652 #8C8B16 #168C50
square
#16178C #8C1652 #8C8B16 #168C50
split-complementary
#16178C #8C5016 #528C16
monochromatic
#050622 #0E0E57 #16178C #1E20C1 #3C3DE0
Accessibility & contrast
On white
13.68
#16178C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#16178C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16178C
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16178C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16178C | 1.00 | 13.68 | 1.54 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #16178c; /* rgb */ color: rgb(22, 23, 140); /* oklch */ color: oklch(31.7% 0.182 269.5);
Tailwind
colors: {
custom: {
50: '#6d57af',
500: '#16178c',
950: '#000000',
},
}SCSS
$custom: #16178c; $custom-light: #6d57af; $custom-dark: #000000;
JSON
{
"hex": "#16178c",
"rgb": {
"r": 22,
"g": 23,
"b": 140
},
"hsl": {
"h": 239.492,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.31749,
"c": 0.18159,
"h": 269.5
},
"luminance": 0.02677
}Semantic roles & 50–950 ramp
primary
#16178C
secondary
#C0BF3E
accent
#EE38F0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880