#190845
a deep, electric violet · warm · closest name: midnightblue
RGB
25, 8, 69
HSL
257°, 79%, 15%
CMYK
64, 88, 0, 73
Luminance
0.0081
Every format
| HEX | #190845 |
| RGB | rgb(25, 8, 69) |
| HSL | hsl(257, 79%, 15%) |
| CMYK | cmyk(64%, 88%, 0%, 73%) |
| LAB | lab(7.3 26.6 -34.6) |
| LCH | lch(7.3 43.7 307.5) |
| OKLCH | oklch(0.213 0.104 286.4) |
Copy-ready code
/* CSS */
color: #190845;
background-color: #190845;
/* Tailwind (arbitrary) */
class="text-[#190845] bg-[#190845]"
/* SCSS */
$brand: #190845;
/* SwiftUI */
Color(red: 0.098, green: 0.031, blue: 0.271)
/* Android */
Color.parseColor("#190845")Accessibility — WCAG contrast
Aa
#190845 on white: 18.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#190845 on black: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green3.1%
Blue27.1%
CMYK percentages
Cyan63.8%
Magenta88.4%
Yellow0.0%
Key (black)72.9%
Color previews
#190845 text on a black background
contrast 1.16:1
Card sample
#190845 text on a white background
contrast 18.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #190845;
Background color
Panel with #190845 background
background-color: #190845;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #190845;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 8, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 8, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #190845; background: linear-gradient(135deg, #190845, #420845);