#19157A#19157A
#19157A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.160 H 272.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #19157A |
|---|---|
| RGB | rgb(25, 21, 122) |
| HSL | hsl(242, 71%, 28%) |
| HSV | hsv(242, 83%, 48%) |
| CMYK | cmyk(79.5%, 82.8%, 0%, 52.2%) |
| CIE-LAB | lab(16.24, 37.52, -55.38) |
| CIE-LCH | lch(16.24, 66.89, 304.11°) |
| OKLab | oklab(29.43% 0.0064 -0.1603) |
| OKLCH | oklch(29.43% 0.16 272.3) |
| XYZ | xyz(4.1807, 2.1477, 18.6028) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.09
Dark Royal Blue
#02066F
ΔE00 3.39
Royal
#0C1793
ΔE00 3.66
Deep Blue
#040273
ΔE00 3.70
Navy
#000080
ΔE00 3.82
Darkblue
#00008B
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19157A #767A15
analogous
#15437A #19157A #4B157A
triadic
#19157A #7A1915 #157A19
tetradic
#19157A #7A1543 #767A15 #157A4B
square
#19157A #7A1543 #767A15 #157A4B
split-complementary
#19157A #7A4B15 #437A15
monochromatic
#05041A #0E0C46 #19157A #241EAE #352EDB
Accessibility & contrast
On white
14.69
#19157A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#19157A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19157A
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19157A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19157A | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #19157a; /* rgb */ color: rgb(25, 21, 122); /* oklch */ color: oklch(29.4% 0.160 272.3);
Tailwind
colors: {
custom: {
50: '#6955a2',
500: '#19157a',
950: '#000000',
},
}SCSS
$custom: #19157a; $custom-light: #6955a2; $custom-dark: #000000;
JSON
{
"hex": "#19157a",
"rgb": {
"r": 25,
"g": 21,
"b": 122
},
"hsl": {
"h": 242.376,
"s": 70.629,
"l": 28.039
},
"oklch": {
"l": 0.29434,
"c": 0.16041,
"h": 272.3
},
"luminance": 0.02148
}Semantic roles & 50–950 ramp
primary
#19157A
secondary
#ABAF3B
accent
#ED3AE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F