#0c81ff
a balanced, electric blue · cool · closest name: dodgerblue
RGB
12, 129, 255
HSL
211°, 100%, 52%
CMYK
95, 49, 0, 0
Luminance
0.2300
Every format
| HEX | #0c81ff |
| RGB | rgb(12, 129, 255) |
| HSL | hsl(211, 100%, 52%) |
| CMYK | cmyk(95%, 49%, 0%, 0%) |
| LAB | lab(55.1 18.4 -70.3) |
| LCH | lch(55.1 72.7 284.7) |
| OKLCH | oklch(0.618 0.209 256.3) |
Copy-ready code
/* CSS */
color: #0c81ff;
background-color: #0c81ff;
/* Tailwind (arbitrary) */
class="text-[#0c81ff] bg-[#0c81ff]"
/* SCSS */
$brand: #0c81ff;
/* SwiftUI */
Color(red: 0.047, green: 0.506, blue: 1.000)
/* Android */
Color.parseColor("#0c81ff")Accessibility — WCAG contrast
Aa
#0c81ff on white: 3.75:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#0c81ff on black: 5.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green50.6%
Blue100.0%
CMYK percentages
Cyan95.3%
Magenta49.4%
Yellow0.0%
Key (black)0.0%
Color previews
#0c81ff text on a black background
contrast 5.60:1
Card sample
#0c81ff text on a white background
contrast 3.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c81ff;
Background color
Panel with #0c81ff background
background-color: #0c81ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c81ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 129, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 129, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c81ff; background: linear-gradient(135deg, #0c81ff, #390CFF);