#080c32
a deep, vivid blue · warm · closest name: black
RGB
8, 12, 50
HSL
234°, 72%, 11%
CMYK
84, 76, 0, 80
Luminance
0.0054
Every format
| HEX | #080c32 |
| RGB | rgb(8, 12, 50) |
| HSL | hsl(234, 72%, 11%) |
| CMYK | cmyk(84%, 76%, 0%, 80%) |
| LAB | lab(4.9 11.8 -24.9) |
| LCH | lch(4.9 27.6 295.5) |
| OKLCH | oklch(0.182 0.074 271.8) |
Copy-ready code
/* CSS */
color: #080c32;
background-color: #080c32;
/* Tailwind (arbitrary) */
class="text-[#080c32] bg-[#080c32]"
/* SCSS */
$brand: #080c32;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.196)
/* Android */
Color.parseColor("#080c32")Accessibility — WCAG contrast
Aa
#080c32 on white: 18.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080c32 on black: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue19.6%
CMYK percentages
Cyan84.0%
Magenta76.0%
Yellow0.0%
Key (black)80.4%
Color previews
#080c32 text on a black background
contrast 1.11:1
Card sample
#080c32 text on a white background
contrast 18.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080c32;
Background color
Panel with #080c32 background
background-color: #080c32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080c32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080c32; background: linear-gradient(135deg, #080c32, #200832);