Skip to content

#415ff4

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

RGB
65, 95, 244
HSL
230°, 89%, 61%
CMYK
73, 61, 0, 4
Luminance
0.1584

Every format

HEX#415ff4
RGBrgb(65, 95, 244)
HSLhsl(230, 89%, 61%)
CMYKcmyk(73%, 61%, 0%, 4%)
LABlab(46.8 39.2 -77.7)
LCHlch(46.8 87.0 296.8)
OKLCHoklch(0.556 0.225 268.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#415ff4 on white: 5.04:1
AA ✓ pass · AA-large · AAA
Aa
#415ff4 on black: 4.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green37.3%
Blue95.7%

CMYK percentages

Cyan73.4%
Magenta61.1%
Yellow0.0%
Key (black)4.3%

Color previews

#415ff4 text on a black background

contrast 4.17:1

Card sample

#415ff4 text on a white background

contrast 5.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #415ff4;
Background color
Panel with #415ff4 background
background-color: #415ff4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #415ff4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 95, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 95, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #415ff4;
background: linear-gradient(135deg, #415ff4, #9A41F4);

Monochromatic scale

Palettes built from #415ff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #415ff4 in the Color Lab