#3c0afd
a balanced, electric blue · warm · closest name: blue
RGB
60, 10, 253
HSL
252°, 98%, 52%
CMYK
76, 96, 0, 1
Luminance
0.0827
Every format
| HEX | #3c0afd |
| RGB | rgb(60, 10, 253) |
| HSL | hsl(252, 98%, 52%) |
| CMYK | cmyk(76%, 96%, 0%, 1%) |
| LAB | lab(34.5 78.1 -103.0) |
| LCH | lch(34.5 129.2 307.2) |
| OKLCH | oklch(0.472 0.298 272.9) |
Copy-ready code
/* CSS */
color: #3c0afd;
background-color: #3c0afd;
/* Tailwind (arbitrary) */
class="text-[#3c0afd] bg-[#3c0afd]"
/* SCSS */
$brand: #3c0afd;
/* SwiftUI */
Color(red: 0.235, green: 0.039, blue: 0.992)
/* Android */
Color.parseColor("#3c0afd")Accessibility — WCAG contrast
Aa
#3c0afd on white: 7.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3c0afd on black: 2.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red23.5%
Green3.9%
Blue99.2%
CMYK percentages
Cyan76.3%
Magenta96.0%
Yellow0.0%
Key (black)0.8%
Color previews
#3c0afd text on a black background
contrast 2.65:1
Card sample
#3c0afd text on a white background
contrast 7.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3c0afd;
Background color
Panel with #3c0afd background
background-color: #3c0afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3c0afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(60, 10, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 10, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c0afd; background: linear-gradient(135deg, #3c0afd, #DE0AFD);