#19178E#19178E
#19178E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.183 H 270.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #19178E |
|---|---|
| RGB | rgb(25, 23, 142) |
| HSL | hsl(241, 72%, 32%) |
| HSV | hsv(241, 84%, 56%) |
| CMYK | cmyk(82.4%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(19.11, 43.10, -63.28) |
| CIE-LCH | lch(19.11, 76.56, 304.26°) |
| OKLab | oklab(32.15% 0.0011 -0.1832) |
| OKLCH | oklch(32.15% 0.183 270.4) |
| XYZ | xyz(5.5881, 2.7718, 25.8264) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.92
Darkblue
#00008B
ΔE00 3.65
Cobalt Blue
#030AA7
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 4.22
Navy
#000080
ΔE00 4.40
Midnight Blue
#191970
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19178E #8C8E17
analogous
#17518E #19178E #54178E
triadic
#19178E #8E1917 #178E19
tetradic
#19178E #8E1751 #8C8E17 #178E54
square
#19178E #8E1751 #8C8E17 #178E54
split-complementary
#19178E #8E5417 #518E17
monochromatic
#060625 #100E59 #19178E #2220C3 #423FE0
Accessibility & contrast
On white
13.51
#19178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#19178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19178E
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19178E | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #19178e; /* rgb */ color: rgb(25, 23, 142); /* oklch */ color: oklch(32.1% 0.183 270.4);
Tailwind
colors: {
custom: {
50: '#6e58b0',
500: '#19178e',
950: '#000000',
},
}SCSS
$custom: #19178e; $custom-light: #6e58b0; $custom-dark: #000000;
JSON
{
"hex": "#19178e",
"rgb": {
"r": 25,
"g": 23,
"b": 142
},
"hsl": {
"h": 241.008,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.32147,
"c": 0.18317,
"h": 270.4
},
"luminance": 0.02772
}Semantic roles & 50–950 ramp
primary
#19178E
secondary
#BEC040
accent
#EF39EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880