#16158F#16158F
#16158F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.187 H 269.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #16158F |
|---|---|
| RGB | rgb(22, 21, 143) |
| HSL | hsl(240, 74%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(84.6%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(18.75, 44.24, -64.49) |
| CIE-LCH | lch(18.75, 78.20, 304.45°) |
| OKLab | oklab(31.9% -0.002 -0.1867) |
| OKLCH | oklch(31.9% 0.187 269.4) |
| XYZ | xyz(5.5553, 2.6894, 26.2076) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.82
Darkblue
#00008B
ΔE00 3.27
Cobalt Blue
#030AA7
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.92
Navy
#000080
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16158F #8E8F15
analogous
#15518F #16158F #53158F
triadic
#16158F #8F1615 #158F16
tetradic
#16158F #8F1551 #8E8F15 #158F53
square
#16158F #8F1551 #8E8F15 #158F53
split-complementary
#16158F #8F5315 #518F15
monochromatic
#060524 #0E0D5A #16158F #1E1DC4 #3D3CE2
Accessibility & contrast
On white
13.65
#16158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#16158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16158F
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16158F | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 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: #16158f; /* rgb */ color: rgb(22, 21, 143); /* oklch */ color: oklch(31.9% 0.187 269.4);
Tailwind
colors: {
custom: {
50: '#6e57b1',
500: '#16158f',
950: '#000000',
},
}SCSS
$custom: #16158f; $custom-light: #6e57b1; $custom-dark: #000000;
JSON
{
"hex": "#16158f",
"rgb": {
"r": 22,
"g": 21,
"b": 143
},
"hsl": {
"h": 240.492,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.31899,
"c": 0.18669,
"h": 269.4
},
"luminance": 0.0269
}Semantic roles & 50–950 ramp
primary
#16158F
secondary
#C1C23E
accent
#F137EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880