Skip to content

#412af4

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

RGB
65, 42, 244
HSL
247°, 90%, 56%
CMYK
73, 83, 0, 4
Luminance
0.0931

Every format

HEX#412af4
RGBrgb(65, 42, 244)
HSLhsl(247, 90%, 56%)
CMYKcmyk(73%, 83%, 0%, 4%)
LABlab(36.6 67.4 -94.5)
LCHlch(36.6 116.1 305.5)
OKLCHoklch(0.483 0.274 274.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#412af4 on white: 7.34:1
AA ✓ pass · AA-large · AAA
Aa
#412af4 on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green16.5%
Blue95.7%

CMYK percentages

Cyan73.4%
Magenta82.8%
Yellow0.0%
Key (black)4.3%

Color previews

#412af4 text on a black background

contrast 2.86:1

Card sample

#412af4 text on a white background

contrast 7.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #412af4;
Background color
Panel with #412af4 background
background-color: #412af4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #412af4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 42, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 42, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412af4;
background: linear-gradient(135deg, #412af4, #C82AF4);

Monochromatic scale

Palettes built from #412af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #412af4 in the Color Lab