#19197E#19197E
#19197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 271.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #19197E |
|---|---|
| RGB | rgb(25, 25, 126) |
| HSL | hsl(240, 67%, 30%) |
| HSV | hsv(240, 80%, 49%) |
| CMYK | cmyk(80.2%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.50, 36.68, -55.86) |
| CIE-LCH | lch(17.50, 66.83, 303.29°) |
| OKLab | oklab(30.45% 0.0041 -0.1617) |
| OKLCH | oklch(30.45% 0.162 271.4) |
| XYZ | xyz(4.5132, 2.4078, 19.9615) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.28
Royal
#0C1793
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 4.35
Navy
#000080
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.63
Deep Blue
#040273
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19197E #7E7E19
analogous
#194C7E #19197E #4C197E
triadic
#19197E #7E1919 #197E19
tetradic
#19197E #7E194C #7E7E19 #197E4C
square
#19197E #7E194C #7E7E19 #197E4C
split-complementary
#19197E #7E4C19 #4C7E19
monochromatic
#05051A #0F0F4B #19197E #2323B1 #3A3AD8
Accessibility & contrast
On white
14.17
#19197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#19197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19197E
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19197E | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #19197e; /* rgb */ color: rgb(25, 25, 126); /* oklch */ color: oklch(30.5% 0.162 271.4);
Tailwind
colors: {
custom: {
50: '#6a58a5',
500: '#19197e',
950: '#000000',
},
}SCSS
$custom: #19197e; $custom-light: #6a58a5; $custom-dark: #000000;
JSON
{
"hex": "#19197e",
"rgb": {
"r": 25,
"g": 25,
"b": 126
},
"hsl": {
"h": 240,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.30452,
"c": 0.16178,
"h": 271.4
},
"luminance": 0.02408
}Semantic roles & 50–950 ramp
primary
#19197E
secondary
#B2B241
accent
#EA3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F