#16118E#16118E
#16118E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.188 H 269.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #16118E |
|---|---|
| RGB | rgb(22, 17, 142) |
| HSL | hsl(242, 79%, 31%) |
| HSV | hsv(242, 88%, 56%) |
| CMYK | cmyk(84.5%, 88%, 0%, 44.3%) |
| CIE-LAB | lab(18.03, 45.70, -65.08) |
| CIE-LCH | lch(18.03, 79.52, 305.08°) |
| OKLab | oklab(31.36% -0.0012 -0.1883) |
| OKLCH | oklch(31.36% 0.188 269.6) |
| XYZ | xyz(5.4122, 2.5238, 25.7878) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.40
Darkblue
#00008B
ΔE00 2.59
Cobalt Blue
#030AA7
ΔE00 3.32
Navy
#000080
ΔE00 3.48
Royal Blue (survey)
#0504AA
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16118E #898E11
analogous
#114A8E #16118E #54118E
triadic
#16118E #8E1611 #118E16
tetradic
#16118E #8E114A #898E11 #118E54
square
#16118E #8E114A #898E11 #118E54
split-complementary
#16118E #8E5411 #4A8E11
monochromatic
#050421 #0E0A57 #16118E #1E18C5 #3A33E7
Accessibility & contrast
On white
13.96
#16118E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#16118E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16118E
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16118E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16118E | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #16118e; /* rgb */ color: rgb(22, 17, 142); /* oklch */ color: oklch(31.4% 0.188 269.6);
Tailwind
colors: {
custom: {
50: '#6e55b1',
500: '#16118e',
950: '#000000',
},
}SCSS
$custom: #16118e; $custom-light: #6e55b1; $custom-dark: #000000;
JSON
{
"hex": "#16118e",
"rgb": {
"r": 22,
"g": 17,
"b": 142
},
"hsl": {
"h": 242.4,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.3136,
"c": 0.18829,
"h": 269.6
},
"luminance": 0.02524
}Semantic roles & 50–950 ramp
primary
#16118E
secondary
#BDC238
accent
#F533ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880