#080149
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 1, 73
HSL
246°, 97%, 15%
CMYK
89, 99, 0, 71
Luminance
0.0055
Every format
| HEX | #080149 |
| RGB | rgb(8, 1, 73) |
| HSL | hsl(246, 97%, 15%) |
| CMYK | cmyk(89%, 99%, 0%, 71%) |
| LAB | lab(5.0 29.4 -41.3) |
| LCH | lch(5.0 50.7 305.5) |
| OKLCH | oklch(0.192 0.122 271.2) |
Copy-ready code
/* CSS */
color: #080149;
background-color: #080149;
/* Tailwind (arbitrary) */
class="text-[#080149] bg-[#080149]"
/* SCSS */
$brand: #080149;
/* SwiftUI */
Color(red: 0.031, green: 0.004, blue: 0.286)
/* Android */
Color.parseColor("#080149")Accessibility — WCAG contrast
Aa
#080149 on white: 18.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080149 on black: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green0.4%
Blue28.6%
CMYK percentages
Cyan89.0%
Magenta98.6%
Yellow0.0%
Key (black)71.4%
Color previews
#080149 text on a black background
contrast 1.11:1
Card sample
#080149 text on a white background
contrast 18.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080149;
Background color
Panel with #080149 background
background-color: #080149;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080149;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 1, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 1, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080149; background: linear-gradient(135deg, #080149, #380149);