#19157C#19157C
#19157C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 272.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #19157C |
|---|---|
| RGB | rgb(25, 21, 124) |
| HSL | hsl(242, 71%, 28%) |
| HSV | hsv(242, 83%, 49%) |
| CMYK | cmyk(79.8%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(16.49, 38.19, -56.25) |
| CIE-LCH | lch(16.49, 67.99, 304.17°) |
| OKLab | oklab(29.68% 0.0059 -0.1628) |
| OKLCH | oklch(29.68% 0.163 272.1) |
| XYZ | xyz(4.3059, 2.1978, 19.2622) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.36
Royal
#0C1793
ΔE00 3.36
Dark Royal Blue
#02066F
ΔE00 3.52
Navy
#000080
ΔE00 3.72
Deep Blue
#040273
ΔE00 3.76
Darkblue
#00008B
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19157C #787C15
analogous
#15447C #19157C #4C157C
triadic
#19157C #7C1915 #157C19
tetradic
#19157C #7C1544 #787C15 #157C4C
square
#19157C #7C1544 #787C15 #157C4C
split-complementary
#19157C #7C4C15 #447C15
monochromatic
#05041A #0E0C48 #19157C #241EB0 #3630DC
Accessibility & contrast
On white
14.59
#19157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#19157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19157C
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19157C | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #19157c; /* rgb */ color: rgb(25, 21, 124); /* oklch */ color: oklch(29.7% 0.163 272.1);
Tailwind
colors: {
custom: {
50: '#6a55a3',
500: '#19157c',
950: '#000000',
},
}SCSS
$custom: #19157c; $custom-light: #6a55a3; $custom-dark: #000000;
JSON
{
"hex": "#19157c",
"rgb": {
"r": 25,
"g": 21,
"b": 124
},
"hsl": {
"h": 242.33,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.29679,
"c": 0.16291,
"h": 272.1
},
"luminance": 0.02198
}Semantic roles & 50–950 ramp
primary
#19157C
secondary
#ADB13C
accent
#EE3AE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F