#19187E#19187E
#19187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.163 H 271.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #19187E |
|---|---|
| RGB | rgb(25, 24, 126) |
| HSL | hsl(241, 68%, 29%) |
| HSV | hsv(241, 81%, 49%) |
| CMYK | cmyk(80.2%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.30, 37.24, -56.19) |
| CIE-LCH | lch(17.30, 67.41, 303.54°) |
| OKLab | oklab(30.32% 0.0044 -0.1627) |
| OKLCH | oklch(30.32% 0.163 271.6) |
| XYZ | xyz(4.4922, 2.3658, 19.9545) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Royal
#0C1793
ΔE00 3.08
Dark Royal Blue
#02066F
ΔE00 4.17
Navy
#000080
ΔE00 4.30
Darkblue
#00008B
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19187E #7D7E18
analogous
#184A7E #19187E #4C187E
triadic
#19187E #7E1918 #187E19
tetradic
#19187E #7E184A #7D7E18 #187E4C
square
#19187E #7E184A #7D7E18 #187E4C
split-complementary
#19187E #7E4C18 #4A7E18
monochromatic
#05051A #0F0E4B #19187E #2322B1 #3937D9
Accessibility & contrast
On white
14.25
#19187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#19187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19187E
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19187E | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #19187e; /* rgb */ color: rgb(25, 24, 126); /* oklch */ color: oklch(30.3% 0.163 271.6);
Tailwind
colors: {
custom: {
50: '#6a57a5',
500: '#19187e',
950: '#000000',
},
}SCSS
$custom: #19187e; $custom-light: #6a57a5; $custom-dark: #000000;
JSON
{
"hex": "#19187e",
"rgb": {
"r": 25,
"g": 24,
"b": 126
},
"hsl": {
"h": 240.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.30315,
"c": 0.16272,
"h": 271.6
},
"luminance": 0.02366
}Semantic roles & 50–950 ramp
primary
#19187E
secondary
#B1B23F
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F