#19187F#19187F
#19187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 271.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #19187F |
|---|---|
| RGB | rgb(25, 24, 127) |
| HSL | hsl(241, 68%, 30%) |
| HSV | hsv(241, 81%, 50%) |
| CMYK | cmyk(80.3%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.42, 37.58, -56.62) |
| CIE-LCH | lch(17.42, 67.96, 303.57°) |
| OKLab | oklab(30.44% 0.0042 -0.1639) |
| OKLCH | oklch(30.44% 0.164 271.5) |
| XYZ | xyz(4.5570, 2.3917, 20.2960) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.49
Royal
#0C1793
ΔE00 2.93
Dark Royal Blue
#02066F
ΔE00 4.24
Navy
#000080
ΔE00 4.28
Darkblue
#00008B
ΔE00 4.34
Deep Blue
#040273
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19187F #7E7F18
analogous
#184A7F #19187F #4D187F
triadic
#19187F #7F1918 #187F19
tetradic
#19187F #7F184A #7E7F18 #187F4D
square
#19187F #7F184A #7E7F18 #187F4D
split-complementary
#19187F #7F4D18 #4A7F18
monochromatic
#05051A #0F0E4C #19187F #2322B2 #3A38D9
Accessibility & contrast
On white
14.20
#19187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#19187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19187F
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19187F | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #19187f; /* rgb */ color: rgb(25, 24, 127); /* oklch */ color: oklch(30.4% 0.164 271.5);
Tailwind
colors: {
custom: {
50: '#6a57a5',
500: '#19187f',
950: '#000000',
},
}SCSS
$custom: #19187f; $custom-light: #6a57a5; $custom-dark: #000000;
JSON
{
"hex": "#19187f",
"rgb": {
"r": 25,
"g": 24,
"b": 127
},
"hsl": {
"h": 240.583,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.30435,
"c": 0.16397,
"h": 271.5
},
"luminance": 0.02392
}Semantic roles & 50–950 ramp
primary
#19187F
secondary
#B2B33F
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F