#417df4
a balanced, electric blue · cool · closest name: royalblue
RGB
65, 125, 244
HSL
220°, 89%, 61%
CMYK
73, 49, 0, 4
Luminance
0.2232
Every format
| HEX | #417df4 |
| RGB | rgb(65, 125, 244) |
| HSL | hsl(220, 89%, 61%) |
| CMYK | cmyk(73%, 49%, 0%, 4%) |
| LAB | lab(54.4 20.6 -65.3) |
| LCH | lch(54.4 68.5 287.5) |
| OKLCH | oklch(0.614 0.190 262.2) |
Copy-ready code
/* CSS */
color: #417df4;
background-color: #417df4;
/* Tailwind (arbitrary) */
class="text-[#417df4] bg-[#417df4]"
/* SCSS */
$brand: #417df4;
/* SwiftUI */
Color(red: 0.255, green: 0.490, blue: 0.957)
/* Android */
Color.parseColor("#417df4")Accessibility — WCAG contrast
Aa
#417df4 on white: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#417df4 on black: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green49.0%
Blue95.7%
CMYK percentages
Cyan73.4%
Magenta48.8%
Yellow0.0%
Key (black)4.3%
Color previews
#417df4 text on a black background
contrast 5.46:1
Card sample
#417df4 text on a white background
contrast 3.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #417df4;
Background color
Panel with #417df4 background
background-color: #417df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #417df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 125, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 125, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #417df4; background: linear-gradient(135deg, #417df4, #7C41F4);