#080f35
a deep, vivid blue · warm · closest name: black
RGB
8, 15, 53
HSL
231°, 74%, 12%
CMYK
85, 72, 0, 79
Luminance
0.0065
Every format
| HEX | #080f35 |
| RGB | rgb(8, 15, 53) |
| HSL | hsl(231, 74%, 12%) |
| CMYK | cmyk(85%, 72%, 0%, 79%) |
| LAB | lab(5.9 12.0 -25.5) |
| LCH | lch(5.9 28.2 295.2) |
| OKLCH | oklch(0.192 0.075 269.7) |
Copy-ready code
/* CSS */
color: #080f35;
background-color: #080f35;
/* Tailwind (arbitrary) */
class="text-[#080f35] bg-[#080f35]"
/* SCSS */
$brand: #080f35;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.208)
/* Android */
Color.parseColor("#080f35")Accessibility — WCAG contrast
Aa
#080f35 on white: 18.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f35 on black: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue20.8%
CMYK percentages
Cyan84.9%
Magenta71.7%
Yellow0.0%
Key (black)79.2%
Color previews
#080f35 text on a black background
contrast 1.13:1
Card sample
#080f35 text on a white background
contrast 18.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f35;
Background color
Panel with #080f35 background
background-color: #080f35;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f35;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f35; background: linear-gradient(135deg, #080f35, #1F0835);