#19157F#19157F
#19157F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 271.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #19157F |
|---|---|
| RGB | rgb(25, 21, 127) |
| HSL | hsl(242, 72%, 29%) |
| HSV | hsv(242, 83%, 50%) |
| CMYK | cmyk(80.3%, 83.5%, 0%, 50.2%) |
| CIE-LAB | lab(16.87, 39.19, -57.54) |
| CIE-LCH | lch(16.87, 69.62, 304.26°) |
| OKLab | oklab(30.05% 0.0052 -0.1665) |
| OKLCH | oklch(30.05% 0.167 271.8) |
| XYZ | xyz(4.4985, 2.2748, 20.2766) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.77
Royal
#0C1793
ΔE00 2.92
Navy
#000080
ΔE00 3.63
Darkblue
#00008B
ΔE00 3.74
Dark Royal Blue
#02066F
ΔE00 3.76
Deep Blue
#040273
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19157F #7B7F15
analogous
#15467F #19157F #4E157F
triadic
#19157F #7F1915 #157F19
tetradic
#19157F #7F1546 #7B7F15 #157F4E
square
#19157F #7F1546 #7B7F15 #157F4E
split-complementary
#19157F #7F4E15 #467F15
monochromatic
#05041A #0F0C4A #19157F #231EB4 #3831DD
Accessibility & contrast
On white
14.43
#19157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#19157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19157F
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19157F | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #19157f; /* rgb */ color: rgb(25, 21, 127); /* oklch */ color: oklch(30.0% 0.167 271.8);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#19157f',
950: '#000000',
},
}SCSS
$custom: #19157f; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#19157f",
"rgb": {
"r": 25,
"g": 21,
"b": 127
},
"hsl": {
"h": 242.264,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.30049,
"c": 0.16661,
"h": 271.8
},
"luminance": 0.02275
}Semantic roles & 50–950 ramp
primary
#19157F
secondary
#AFB43C
accent
#EE39E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F