#0c80af
a dark, electric cyan · cool · closest name: steelblue
RGB
12, 128, 175
HSL
197°, 87%, 37%
CMYK
93, 27, 0, 31
Luminance
0.1861
Every format
| HEX | #0c80af |
| RGB | rgb(12, 128, 175) |
| HSL | hsl(197, 87%, 37%) |
| CMYK | cmyk(93%, 27%, 0%, 31%) |
| LAB | lab(50.2 -11.7 -32.9) |
| LCH | lch(50.2 34.9 250.5) |
| OKLCH | oklch(0.566 0.115 233.8) |
Copy-ready code
/* CSS */
color: #0c80af;
background-color: #0c80af;
/* Tailwind (arbitrary) */
class="text-[#0c80af] bg-[#0c80af]"
/* SCSS */
$brand: #0c80af;
/* SwiftUI */
Color(red: 0.047, green: 0.502, blue: 0.686)
/* Android */
Color.parseColor("#0c80af")Accessibility — WCAG contrast
Aa
#0c80af on white: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#0c80af on black: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green50.2%
Blue68.6%
CMYK percentages
Cyan93.1%
Magenta26.9%
Yellow0.0%
Key (black)31.4%
Color previews
#0c80af text on a black background
contrast 4.72:1
Card sample
#0c80af text on a white background
contrast 4.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c80af;
Background color
Panel with #0c80af background
background-color: #0c80af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c80af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 128, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 128, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c80af; background: linear-gradient(135deg, #0c80af, #0C13AF);