#080554
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 5, 84
HSL
242°, 89%, 18%
CMYK
91, 94, 0, 67
Luminance
0.0080
Every format
| HEX | #080554 |
| RGB | rgb(8, 5, 84) |
| HSL | hsl(242, 89%, 18%) |
| CMYK | cmyk(91%, 94%, 0%, 67%) |
| LAB | lab(7.2 32.0 -45.3) |
| LCH | lch(7.2 55.4 305.3) |
| OKLCH | oklch(0.214 0.131 269.3) |
Copy-ready code
/* CSS */
color: #080554;
background-color: #080554;
/* Tailwind (arbitrary) */
class="text-[#080554] bg-[#080554]"
/* SCSS */
$brand: #080554;
/* SwiftUI */
Color(red: 0.031, green: 0.020, blue: 0.329)
/* Android */
Color.parseColor("#080554")Accessibility — WCAG contrast
Aa
#080554 on white: 18.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080554 on black: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green2.0%
Blue32.9%
CMYK percentages
Cyan90.5%
Magenta94.0%
Yellow0.0%
Key (black)67.1%
Color previews
#080554 text on a black background
contrast 1.16:1
Card sample
#080554 text on a white background
contrast 18.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080554;
Background color
Panel with #080554 background
background-color: #080554;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080554;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 5, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 5, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080554; background: linear-gradient(135deg, #080554, #3D0554);