#19158E#19158E
#19158E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.185 H 270.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #19158E |
|---|---|
| RGB | rgb(25, 21, 142) |
| HSL | hsl(242, 74%, 32%) |
| HSV | hsv(242, 85%, 56%) |
| CMYK | cmyk(82.4%, 85.2%, 0%, 44.3%) |
| CIE-LAB | lab(18.78, 44.06, -63.82) |
| CIE-LCH | lch(18.78, 77.55, 304.62°) |
| OKLab | oklab(31.92% 0.0015 -0.1847) |
| OKLCH | oklch(31.92% 0.185 270.5) |
| XYZ | xyz(5.5499, 2.6954, 25.8137) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.03
Darkblue
#00008B
ΔE00 3.29
Cobalt Blue
#030AA7
ΔE00 3.51
Royal Blue (survey)
#0504AA
ΔE00 4.04
Navy
#000080
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19158E #8A8E15
analogous
#154E8E #19158E #55158E
triadic
#19158E #8E1915 #158E19
tetradic
#19158E #8E154E #8A8E15 #158E55
square
#19158E #8E154E #8A8E15 #158E55
split-complementary
#19158E #8E5515 #4E8E15
monochromatic
#060523 #100D59 #19158E #221DC3 #413BE2
Accessibility & contrast
On white
13.64
#19158E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#19158E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19158E
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19158E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19158E | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #19158e; /* rgb */ color: rgb(25, 21, 142); /* oklch */ color: oklch(31.9% 0.185 270.5);
Tailwind
colors: {
custom: {
50: '#6e57b0',
500: '#19158e',
950: '#000000',
},
}SCSS
$custom: #19158e; $custom-light: #6e57b0; $custom-dark: #000000;
JSON
{
"hex": "#19158e",
"rgb": {
"r": 25,
"g": 21,
"b": 142
},
"hsl": {
"h": 241.983,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.31922,
"c": 0.18471,
"h": 270.5
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#19158E
secondary
#BDC23D
accent
#F137EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880