#080f55
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 15, 85
HSL
235°, 83%, 18%
CMYK
91, 82, 0, 67
Luminance
0.0105
Every format
| HEX | #080f55 |
| RGB | rgb(8, 15, 85) |
| HSL | hsl(235, 83%, 18%) |
| CMYK | cmyk(91%, 82%, 0%, 67%) |
| LAB | lab(9.4 26.5 -42.3) |
| LCH | lch(9.4 49.9 302.0) |
| OKLCH | oklch(0.230 0.123 268.2) |
Copy-ready code
/* CSS */
color: #080f55;
background-color: #080f55;
/* Tailwind (arbitrary) */
class="text-[#080f55] bg-[#080f55]"
/* SCSS */
$brand: #080f55;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.333)
/* Android */
Color.parseColor("#080f55")Accessibility — WCAG contrast
Aa
#080f55 on white: 17.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f55 on black: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue33.3%
CMYK percentages
Cyan90.6%
Magenta82.4%
Yellow0.0%
Key (black)66.7%
Color previews
#080f55 text on a black background
contrast 1.21:1
Card sample
#080f55 text on a white background
contrast 17.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f55;
Background color
Panel with #080f55 background
background-color: #080f55;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f55;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f55; background: linear-gradient(135deg, #080f55, #340855);