Skip to content

#4a2cfd

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

RGB
74, 44, 253
HSL
249°, 98%, 58%
CMYK
71, 83, 0, 1
Luminance
0.1035

Every format

HEX#4a2cfd
RGBrgb(74, 44, 253)
HSLhsl(249, 98%, 58%)
CMYKcmyk(71%, 83%, 0%, 1%)
LABlab(38.5 69.7 -96.4)
LCHlch(38.5 118.9 305.9)
OKLCHoklch(0.501 0.280 275.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4a2cfd on white: 6.84:1
AA ✓ pass · AA-large · AAA
Aa
#4a2cfd on black: 3.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green17.3%
Blue99.2%

CMYK percentages

Cyan70.8%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#4a2cfd text on a black background

contrast 3.07:1

Card sample

#4a2cfd text on a white background

contrast 6.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4a2cfd;
background: linear-gradient(135deg, #4a2cfd, #D52CFD);

Monochromatic scale

Palettes built from #4a2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4a2cfd in the Color Lab