#080f60
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 15, 96
HSL
235°, 85%, 20%
CMYK
92, 84, 0, 62
Luminance
0.0124
Every format
| HEX | #080f60 |
| RGB | rgb(8, 15, 96) |
| HSL | hsl(235, 85%, 20%) |
| CMYK | cmyk(92%, 84%, 0%, 62%) |
| LAB | lab(10.8 30.7 -47.4) |
| LCH | lch(10.8 56.4 302.9) |
| OKLCH | oklch(0.244 0.137 267.6) |
Copy-ready code
/* CSS */
color: #080f60;
background-color: #080f60;
/* Tailwind (arbitrary) */
class="text-[#080f60] bg-[#080f60]"
/* SCSS */
$brand: #080f60;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.376)
/* Android */
Color.parseColor("#080f60")Accessibility — WCAG contrast
Aa
#080f60 on white: 16.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f60 on black: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue37.6%
CMYK percentages
Cyan91.7%
Magenta84.4%
Yellow0.0%
Key (black)62.4%
Color previews
#080f60 text on a black background
contrast 1.25:1
Card sample
#080f60 text on a white background
contrast 16.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f60;
Background color
Panel with #080f60 background
background-color: #080f60;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f60;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f60; background: linear-gradient(135deg, #080f60, #3C0860);