#191980
a dark, vivid blue · warm · closest name: midnightblue
RGB
25, 25, 128
HSL
240°, 67%, 30%
CMYK
81, 81, 0, 50
Luminance
0.0246
Every format
| HEX | #191980 |
| RGB | rgb(25, 25, 128) |
| HSL | hsl(240, 67%, 30%) |
| CMYK | cmyk(81%, 81%, 0%, 50%) |
| LAB | lab(17.7 37.4 -56.7) |
| LCH | lch(17.7 67.9 303.4) |
| OKLCH | oklch(0.307 0.164 271.3) |
Copy-ready code
/* CSS */
color: #191980;
background-color: #191980;
/* Tailwind (arbitrary) */
class="text-[#191980] bg-[#191980]"
/* SCSS */
$brand: #191980;
/* SwiftUI */
Color(red: 0.098, green: 0.098, blue: 0.502)
/* Android */
Color.parseColor("#191980")Accessibility — WCAG contrast
Aa
#191980 on white: 14.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#191980 on black: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green9.8%
Blue50.2%
CMYK percentages
Cyan80.5%
Magenta80.5%
Yellow0.0%
Key (black)49.8%
Color previews
#191980 text on a black background
contrast 1.49:1
Card sample
#191980 text on a white background
contrast 14.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #191980;
Background color
Panel with #191980 background
background-color: #191980;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #191980;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 25, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 25, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #191980; background: linear-gradient(135deg, #191980, #5E1980);