#412cfd
a balanced, electric blue · warm · closest name: blue
RGB
65, 44, 253
HSL
246°, 98%, 58%
CMYK
74, 83, 0, 1
Luminance
0.1002
Every format
| HEX | #412cfd |
| RGB | rgb(65, 44, 253) |
| HSL | hsl(246, 98%, 58%) |
| CMYK | cmyk(74%, 83%, 0%, 1%) |
| LAB | lab(37.9 69.1 -97.4) |
| LCH | lch(37.9 119.4 305.4) |
| OKLCH | oklch(0.495 0.282 273.4) |
Copy-ready code
/* CSS */
color: #412cfd;
background-color: #412cfd;
/* Tailwind (arbitrary) */
class="text-[#412cfd] bg-[#412cfd]"
/* SCSS */
$brand: #412cfd;
/* SwiftUI */
Color(red: 0.255, green: 0.173, blue: 0.992)
/* Android */
Color.parseColor("#412cfd")Accessibility — WCAG contrast
Aa
#412cfd on white: 6.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#412cfd on black: 3.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green17.3%
Blue99.2%
CMYK percentages
Cyan74.3%
Magenta82.6%
Yellow0.0%
Key (black)0.8%
Color previews
#412cfd text on a black background
contrast 3.00:1
Card sample
#412cfd text on a white background
contrast 6.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #412cfd;
Background color
Panel with #412cfd background
background-color: #412cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #412cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412cfd; background: linear-gradient(135deg, #412cfd, #CC2CFD);