#080f65
a deep, electric blue · warm · closest name: midnightblue
RGB
8, 15, 101
HSL
236°, 85%, 21%
CMYK
92, 85, 0, 60
Luminance
0.0133
Every format
| HEX | #080f65 |
| RGB | rgb(8, 15, 101) |
| HSL | hsl(236, 85%, 21%) |
| CMYK | cmyk(92%, 85%, 0%, 60%) |
| LAB | lab(11.5 32.5 -49.6) |
| LCH | lch(11.5 59.3 303.2) |
| OKLCH | oklch(0.251 0.144 267.3) |
Copy-ready code
/* CSS */
color: #080f65;
background-color: #080f65;
/* Tailwind (arbitrary) */
class="text-[#080f65] bg-[#080f65]"
/* SCSS */
$brand: #080f65;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.396)
/* Android */
Color.parseColor("#080f65")Accessibility — WCAG contrast
Aa
#080f65 on white: 16.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f65 on black: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue39.6%
CMYK percentages
Cyan92.1%
Magenta85.1%
Yellow0.0%
Key (black)60.4%
Color previews
#080f65 text on a black background
contrast 1.27:1
Card sample
#080f65 text on a white background
contrast 16.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f65;
Background color
Panel with #080f65 background
background-color: #080f65;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f65;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f65; background: linear-gradient(135deg, #080f65, #3F0865);