#080f30
a deep, vivid blue · warm · closest name: black
RGB
8, 15, 48
HSL
230°, 71%, 11%
CMYK
83, 69, 0, 81
Luminance
0.0061
Every format
| HEX | #080f30 |
| RGB | rgb(8, 15, 48) |
| HSL | hsl(230, 71%, 11%) |
| CMYK | cmyk(83%, 69%, 0%, 81%) |
| LAB | lab(5.5 9.3 -22.5) |
| LCH | lch(5.5 24.4 292.5) |
| OKLCH | oklch(0.186 0.066 269.6) |
Copy-ready code
/* CSS */
color: #080f30;
background-color: #080f30;
/* Tailwind (arbitrary) */
class="text-[#080f30] bg-[#080f30]"
/* SCSS */
$brand: #080f30;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.188)
/* Android */
Color.parseColor("#080f30")Accessibility — WCAG contrast
Aa
#080f30 on white: 18.73:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f30 on black: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue18.8%
CMYK percentages
Cyan83.3%
Magenta68.7%
Yellow0.0%
Key (black)81.2%
Color previews
#080f30 text on a black background
contrast 1.12:1
Card sample
#080f30 text on a white background
contrast 18.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f30;
Background color
Panel with #080f30 background
background-color: #080f30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f30; background: linear-gradient(135deg, #080f30, #1C0830);