#080ccd
a dark, electric blue · warm · closest name: blue
RGB
8, 12, 205
HSL
239°, 93%, 42%
CMYK
96, 94, 0, 20
Luminance
0.0472
Every format
| HEX | #080ccd |
| RGB | rgb(8, 12, 205) |
| HSL | hsl(239, 93%, 42%) |
| CMYK | cmyk(96%, 94%, 0%, 20%) |
| LAB | lab(25.9 64.8 -89.9) |
| LCH | lch(25.9 110.8 305.8) |
| OKLCH | oklch(0.390 0.261 265.0) |
Copy-ready code
/* CSS */
color: #080ccd;
background-color: #080ccd;
/* Tailwind (arbitrary) */
class="text-[#080ccd] bg-[#080ccd]"
/* SCSS */
$brand: #080ccd;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.804)
/* Android */
Color.parseColor("#080ccd")Accessibility — WCAG contrast
Aa
#080ccd on white: 10.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080ccd on black: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue80.4%
CMYK percentages
Cyan96.1%
Magenta94.1%
Yellow0.0%
Key (black)19.6%
Color previews
#080ccd text on a black background
contrast 1.94:1
Card sample
#080ccd text on a white background
contrast 10.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080ccd;
Background color
Panel with #080ccd background
background-color: #080ccd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080ccd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080ccd; background: linear-gradient(135deg, #080ccd, #8808CD);