#16168F#16168F
#16168F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 269.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #16168F |
|---|---|
| RGB | rgb(22, 22, 143) |
| HSL | hsl(240, 73%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(84.6%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(18.92, 43.76, -64.22) |
| CIE-LCH | lch(18.92, 77.71, 304.27°) |
| OKLab | oklab(32.01% -0.0022 -0.1859) |
| OKLCH | oklch(32.01% 0.186 269.3) |
| XYZ | xyz(5.5740, 2.7269, 26.2138) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.73
Darkblue
#00008B
ΔE00 3.45
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 4.02
Navy
#000080
ΔE00 4.26
Midnight Blue
#191970
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16168F #8F8F16
analogous
#16538F #16168F #53168F
triadic
#16168F #8F1616 #168F16
tetradic
#16168F #8F1653 #8F8F16 #168F53
square
#16168F #8F1653 #8F8F16 #168F53
split-complementary
#16168F #8F5316 #538F16
monochromatic
#060625 #0E0E5A #16168F #1E1EC4 #3E3EE1
Accessibility & contrast
On white
13.59
#16168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#16168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16168F
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16168F | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #16168f; /* rgb */ color: rgb(22, 22, 143); /* oklch */ color: oklch(32.0% 0.186 269.3);
Tailwind
colors: {
custom: {
50: '#6e57b1',
500: '#16168f',
950: '#000000',
},
}SCSS
$custom: #16168f; $custom-light: #6e57b1; $custom-dark: #000000;
JSON
{
"hex": "#16168f",
"rgb": {
"r": 22,
"g": 22,
"b": 143
},
"hsl": {
"h": 240,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.3201,
"c": 0.18594,
"h": 269.3
},
"luminance": 0.02728
}Semantic roles & 50–950 ramp
primary
#16168F
secondary
#C1C13F
accent
#F038F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880