#080cc4
a dark, electric blue · warm · closest name: blue
RGB
8, 12, 196
HSL
239°, 92%, 40%
CMYK
96, 94, 0, 23
Luminance
0.0430
Every format
| HEX | #080cc4 |
| RGB | rgb(8, 12, 196) |
| HSL | hsl(239, 92%, 40%) |
| CMYK | cmyk(96%, 94%, 0%, 23%) |
| LAB | lab(24.6 62.4 -86.8) |
| LCH | lch(24.6 106.9 305.7) |
| OKLCH | oklch(0.378 0.252 265.1) |
Copy-ready code
/* CSS */
color: #080cc4;
background-color: #080cc4;
/* Tailwind (arbitrary) */
class="text-[#080cc4] bg-[#080cc4]"
/* SCSS */
$brand: #080cc4;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.769)
/* Android */
Color.parseColor("#080cc4")Accessibility — WCAG contrast
Aa
#080cc4 on white: 11.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080cc4 on black: 1.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue76.9%
CMYK percentages
Cyan95.9%
Magenta93.9%
Yellow0.0%
Key (black)23.1%
Color previews
#080cc4 text on a black background
contrast 1.86:1
Card sample
#080cc4 text on a white background
contrast 11.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080cc4;
Background color
Panel with #080cc4 background
background-color: #080cc4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080cc4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080cc4; background: linear-gradient(135deg, #080cc4, #8108C4);