#0c80cf
a dark, electric blue · cool · closest name: steelblue
RGB
12, 128, 207
HSL
204°, 89%, 43%
CMYK
94, 38, 0, 19
Luminance
0.2002
Every format
| HEX | #0c80cf |
| RGB | rgb(12, 128, 207) |
| HSL | hsl(204, 89%, 43%) |
| CMYK | cmyk(94%, 38%, 0%, 19%) |
| LAB | lab(51.9 0.5 -48.7) |
| LCH | lch(51.9 48.7 270.6) |
| OKLCH | oklch(0.584 0.151 247.2) |
Copy-ready code
/* CSS */
color: #0c80cf;
background-color: #0c80cf;
/* Tailwind (arbitrary) */
class="text-[#0c80cf] bg-[#0c80cf]"
/* SCSS */
$brand: #0c80cf;
/* SwiftUI */
Color(red: 0.047, green: 0.502, blue: 0.812)
/* Android */
Color.parseColor("#0c80cf")Accessibility — WCAG contrast
Aa
#0c80cf on white: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#0c80cf on black: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green50.2%
Blue81.2%
CMYK percentages
Cyan94.2%
Magenta38.2%
Yellow0.0%
Key (black)18.8%
Color previews
#0c80cf text on a black background
contrast 5.00:1
Card sample
#0c80cf text on a white background
contrast 4.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c80cf;
Background color
Panel with #0c80cf background
background-color: #0c80cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c80cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 128, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 128, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c80cf; background: linear-gradient(135deg, #0c80cf, #1A0CCF);