#19158F#19158F
#19158F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 270.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #19158F |
|---|---|
| RGB | rgb(25, 21, 143) |
| HSL | hsl(242, 74%, 32%) |
| HSV | hsv(242, 85%, 56%) |
| CMYK | cmyk(82.5%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(18.91, 44.38, -64.23) |
| CIE-LCH | lch(18.91, 78.07, 304.65°) |
| OKLab | oklab(32.05% 0.0013 -0.1859) |
| OKLCH | oklch(32.05% 0.186 270.4) |
| XYZ | xyz(5.6253, 2.7255, 26.2109) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.95
Darkblue
#00008B
ΔE00 3.31
Cobalt Blue
#030AA7
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.91
Navy
#000080
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19158F #8B8F15
analogous
#154E8F #19158F #56158F
triadic
#19158F #8F1915 #158F19
tetradic
#19158F #8F154E #8B8F15 #158F56
square
#19158F #8F154E #8B8F15 #158F56
split-complementary
#19158F #8F5615 #4E8F15
monochromatic
#060524 #100D5A #19158F #221DC4 #413CE2
Accessibility & contrast
On white
13.59
#19158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#19158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19158F
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19158F | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #19158f; /* rgb */ color: rgb(25, 21, 143); /* oklch */ color: oklch(32.0% 0.186 270.4);
Tailwind
colors: {
custom: {
50: '#6f57b1',
500: '#19158f',
950: '#000000',
},
}SCSS
$custom: #19158f; $custom-light: #6f57b1; $custom-dark: #000000;
JSON
{
"hex": "#19158f",
"rgb": {
"r": 25,
"g": 21,
"b": 143
},
"hsl": {
"h": 241.967,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32048,
"c": 0.18588,
"h": 270.4
},
"luminance": 0.02726
}Semantic roles & 50–950 ramp
primary
#19158F
secondary
#BEC23E
accent
#F137EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880