#19157E#19157E
#19157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.165 H 271.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #19157E |
|---|---|
| RGB | rgb(25, 21, 126) |
| HSL | hsl(242, 71%, 29%) |
| HSV | hsv(242, 83%, 49%) |
| CMYK | cmyk(80.2%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.74, 38.86, -57.11) |
| CIE-LCH | lch(16.74, 69.08, 304.23°) |
| OKLab | oklab(29.93% 0.0054 -0.1653) |
| OKLCH | oklch(29.93% 0.165 271.9) |
| XYZ | xyz(4.4337, 2.2489, 19.9350) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.64
Royal
#0C1793
ΔE00 3.07
Navy
#000080
ΔE00 3.66
Dark Royal Blue
#02066F
ΔE00 3.68
Darkblue
#00008B
ΔE00 3.83
Deep Blue
#040273
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19157E #7A7E15
analogous
#15467E #19157E #4E157E
triadic
#19157E #7E1915 #157E19
tetradic
#19157E #7E1546 #7A7E15 #157E4E
square
#19157E #7E1546 #7A7E15 #157E4E
split-complementary
#19157E #7E4E15 #467E15
monochromatic
#05041A #0F0C4A #19157E #231EB2 #3731DD
Accessibility & contrast
On white
14.48
#19157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#19157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19157E
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19157E | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #19157e; /* rgb */ color: rgb(25, 21, 126); /* oklch */ color: oklch(29.9% 0.165 271.9);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#19157e',
950: '#000000',
},
}SCSS
$custom: #19157e; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#19157e",
"rgb": {
"r": 25,
"g": 21,
"b": 126
},
"hsl": {
"h": 242.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.29925,
"c": 0.16538,
"h": 271.9
},
"luminance": 0.02249
}Semantic roles & 50–950 ramp
primary
#19157E
secondary
#AFB33C
accent
#EE3AE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F