#412afd
a balanced, electric blue · warm · closest name: blue
RGB
65, 42, 253
HSL
247°, 98%, 58%
CMYK
74, 83, 0, 1
Luminance
0.0987
Every format
| HEX | #412afd |
| RGB | rgb(65, 42, 253) |
| HSL | hsl(247, 98%, 58%) |
| CMYK | cmyk(74%, 83%, 0%, 1%) |
| LAB | lab(37.6 69.9 -97.8) |
| LCH | lch(37.6 120.2 305.6) |
| OKLCH | oklch(0.493 0.283 273.5) |
Copy-ready code
/* CSS */
color: #412afd;
background-color: #412afd;
/* Tailwind (arbitrary) */
class="text-[#412afd] bg-[#412afd]"
/* SCSS */
$brand: #412afd;
/* SwiftUI */
Color(red: 0.255, green: 0.165, blue: 0.992)
/* Android */
Color.parseColor("#412afd")Accessibility — WCAG contrast
Aa
#412afd on white: 7.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#412afd on black: 2.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green16.5%
Blue99.2%
CMYK percentages
Cyan74.3%
Magenta83.4%
Yellow0.0%
Key (black)0.8%
Color previews
#412afd text on a black background
contrast 2.97:1
Card sample
#412afd text on a white background
contrast 7.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #412afd;
Background color
Panel with #412afd background
background-color: #412afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #412afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 42, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 42, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412afd; background: linear-gradient(135deg, #412afd, #CD2AFD);