Skip to content

#417ef1

a balanced, electric blue · cool · closest name: royalblue

RGB
65, 126, 241
HSL
219°, 86%, 60%
CMYK
73, 48, 0, 6
Luminance
0.2240

Every format

HEX#417ef1
RGBrgb(65, 126, 241)
HSLhsl(219, 86%, 60%)
CMYKcmyk(73%, 48%, 0%, 6%)
LABlab(54.4 18.9 -63.5)
LCHlch(54.4 66.3 286.6)
OKLCHoklch(0.614 0.184 261.6)

Copy-ready code

/* CSS */
color: #417ef1;
background-color: #417ef1;
/* Tailwind (arbitrary) */
class="text-[#417ef1] bg-[#417ef1]"
/* SCSS */
$brand: #417ef1;
/* SwiftUI */
Color(red: 0.255, green: 0.494, blue: 0.945)
/* Android */
Color.parseColor("#417ef1")

Accessibility — WCAG contrast

Aa
#417ef1 on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#417ef1 on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green49.4%
Blue94.5%

CMYK percentages

Cyan73.0%
Magenta47.7%
Yellow0.0%
Key (black)5.5%

Color previews

#417ef1 text on a black background

contrast 5.48:1

Card sample

#417ef1 text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #417ef1;
Background color
Panel with #417ef1 background
background-color: #417ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #417ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #417ef1;
background: linear-gradient(135deg, #417ef1, #7941F1);

Monochromatic scale

Palettes built from #417ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #417ef1 in the Color Lab