Skip to content

#4900eb

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

RGB
73, 0, 235
HSL
259°, 100%, 46%
CMYK
69, 100, 0, 8
Luminance
0.0741

Every format

HEX#4900eb
RGBrgb(73, 0, 235)
HSLhsl(259, 100%, 46%)
CMYKcmyk(69%, 100%, 0%, 8%)
LABlab(32.7 75.7 -95.8)
LCHlch(32.7 122.1 308.3)
OKLCHoklch(0.456 0.279 278.4)

Copy-ready code

/* CSS */
color: #4900eb;
background-color: #4900eb;
/* Tailwind (arbitrary) */
class="text-[#4900eb] bg-[#4900eb]"
/* SCSS */
$brand: #4900eb;
/* SwiftUI */
Color(red: 0.286, green: 0.000, blue: 0.922)
/* Android */
Color.parseColor("#4900eb")

Accessibility — WCAG contrast

Aa
#4900eb on white: 8.46:1
AA ✓ pass · AA-large · AAA
Aa
#4900eb on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red28.6%
Green0.0%
Blue92.2%

CMYK percentages

Cyan68.9%
Magenta100.0%
Yellow0.0%
Key (black)7.8%

Color previews

#4900eb text on a black background

contrast 2.48:1

Card sample

#4900eb text on a white background

contrast 8.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4900eb;
Background color
Panel with #4900eb background
background-color: #4900eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4900eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(73, 0, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(73, 0, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4900eb;
background: linear-gradient(135deg, #4900eb, #E600EB);

Monochromatic scale

Palettes built from #4900eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4900eb in the Color Lab