Skip to content

#4c3df2

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

RGB
76, 61, 242
HSL
245°, 87%, 59%
CMYK
69, 75, 0, 5
Luminance
0.1128

Every format

HEX#4c3df2
RGBrgb(76, 61, 242)
HSLhsl(245, 87%, 59%)
CMYKcmyk(69%, 75%, 0%, 5%)
LABlab(40.0 59.1 -87.6)
LCHlch(40.0 105.6 304.0)
OKLCHoklch(0.509 0.255 276.1)

Copy-ready code

/* CSS */
color: #4c3df2;
background-color: #4c3df2;
/* Tailwind (arbitrary) */
class="text-[#4c3df2] bg-[#4c3df2]"
/* SCSS */
$brand: #4c3df2;
/* SwiftUI */
Color(red: 0.298, green: 0.239, blue: 0.949)
/* Android */
Color.parseColor("#4c3df2")

Accessibility — WCAG contrast

Aa
#4c3df2 on white: 6.45:1
AA ✓ pass · AA-large · AAA
Aa
#4c3df2 on black: 3.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.8%
Green23.9%
Blue94.9%

CMYK percentages

Cyan68.6%
Magenta74.8%
Yellow0.0%
Key (black)5.1%

Color previews

#4c3df2 text on a black background

contrast 3.26:1

Card sample

#4c3df2 text on a white background

contrast 6.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4c3df2;
Background color
Panel with #4c3df2 background
background-color: #4c3df2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4c3df2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(76, 61, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 61, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4c3df2;
background: linear-gradient(135deg, #4c3df2, #C53DF2);

Monochromatic scale

Palettes built from #4c3df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4c3df2 in the Color Lab