#080c35
a deep, vivid blue · warm · closest name: black
RGB
8, 12, 53
HSL
235°, 74%, 12%
CMYK
85, 77, 0, 79
Luminance
0.0057
Every format
| HEX | #080c35 |
| RGB | rgb(8, 12, 53) |
| HSL | hsl(235, 74%, 12%) |
| CMYK | cmyk(85%, 77%, 0%, 79%) |
| LAB | lab(5.2 13.5 -26.7) |
| LCH | lch(5.2 29.9 296.9) |
| OKLCH | oklch(0.185 0.079 271.5) |
Copy-ready code
/* CSS */
color: #080c35;
background-color: #080c35;
/* Tailwind (arbitrary) */
class="text-[#080c35] bg-[#080c35]"
/* SCSS */
$brand: #080c35;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.208)
/* Android */
Color.parseColor("#080c35")Accessibility — WCAG contrast
Aa
#080c35 on white: 18.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080c35 on black: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue20.8%
CMYK percentages
Cyan84.9%
Magenta77.4%
Yellow0.0%
Key (black)79.2%
Color previews
#080c35 text on a black background
contrast 1.11:1
Card sample
#080c35 text on a white background
contrast 18.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080c35;
Background color
Panel with #080c35 background
background-color: #080c35;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080c35;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080c35; background: linear-gradient(135deg, #080c35, #220835);