Skip to content

#3900fd

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

RGB
57, 0, 253
HSL
254°, 100%, 50%
CMYK
78, 100, 0, 1
Luminance
0.0796

Every format

HEX#3900fd
RGBrgb(57, 0, 253)
HSLhsl(254, 100%, 50%)
CMYKcmyk(78%, 100%, 0%, 1%)
LABlab(33.9 79.4 -104.0)
LCHlch(33.9 130.8 307.3)
OKLCHoklch(0.467 0.300 272.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3900fd on white: 8.10:1
AA ✓ pass · AA-large · AAA
Aa
#3900fd on black: 2.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green0.0%
Blue99.2%

CMYK percentages

Cyan77.5%
Magenta100.0%
Yellow0.0%
Key (black)0.8%

Color previews

#3900fd text on a black background

contrast 2.59:1

Card sample

#3900fd text on a white background

contrast 8.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3900fd;
Background color
Panel with #3900fd background
background-color: #3900fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3900fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 0, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 0, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3900fd;
background: linear-gradient(135deg, #3900fd, #E200FD);

Monochromatic scale

Palettes built from #3900fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3900fd in the Color Lab