#080f45
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 15, 69
HSL
233°, 79%, 15%
CMYK
88, 78, 0, 73
Luminance
0.0082
Every format
| HEX | #080f45 |
| RGB | rgb(8, 15, 69) |
| HSL | hsl(233, 79%, 15%) |
| CMYK | cmyk(88%, 78%, 0%, 73%) |
| LAB | lab(7.4 19.9 -34.5) |
| LCH | lch(7.4 39.8 300.0) |
| OKLCH | oklch(0.210 0.100 269.1) |
Copy-ready code
/* CSS */
color: #080f45;
background-color: #080f45;
/* Tailwind (arbitrary) */
class="text-[#080f45] bg-[#080f45]"
/* SCSS */
$brand: #080f45;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.271)
/* Android */
Color.parseColor("#080f45")Accessibility — WCAG contrast
Aa
#080f45 on white: 18.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f45 on black: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue27.1%
CMYK percentages
Cyan88.4%
Magenta78.3%
Yellow0.0%
Key (black)72.9%
Color previews
#080f45 text on a black background
contrast 1.16:1
Card sample
#080f45 text on a white background
contrast 18.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f45;
Background color
Panel with #080f45 background
background-color: #080f45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f45; background: linear-gradient(135deg, #080f45, #2A0845);