Skip to content

#4841ff

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

RGB
72, 65, 255
HSL
242°, 100%, 63%
CMYK
72, 75, 0, 0
Luminance
0.1238

Every format

HEX#4841ff
RGBrgb(72, 65, 255)
HSLhsl(242, 100%, 63%)
CMYKcmyk(72%, 75%, 0%, 0%)
LABlab(41.8 60.6 -92.0)
LCHlch(41.8 110.2 303.4)
OKLCHoklch(0.524 0.267 273.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4841ff on white: 6.04:1
AA ✓ pass · AA-large · AAA
Aa
#4841ff on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red28.2%
Green25.5%
Blue100.0%

CMYK percentages

Cyan71.8%
Magenta74.5%
Yellow0.0%
Key (black)0.0%

Color previews

#4841ff text on a black background

contrast 3.48:1

Card sample

#4841ff text on a white background

contrast 6.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4841ff;
Background color
Panel with #4841ff background
background-color: #4841ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4841ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(72, 65, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 65, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4841ff;
background: linear-gradient(135deg, #4841ff, #C741FF);

Monochromatic scale

Palettes built from #4841ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4841ff in the Color Lab