Skip to content

#3900df

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

RGB
57, 0, 223
HSL
255°, 100%, 44%
CMYK
74, 100, 0, 13
Luminance
0.0620

Every format

HEX#3900df
RGBrgb(57, 0, 223)
HSLhsl(255, 100%, 44%)
CMYKcmyk(74%, 100%, 0%, 13%)
LABlab(29.9 72.4 -93.6)
LCHlch(29.9 118.3 307.7)
OKLCHoklch(0.430 0.271 274.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3900df on white: 9.38:1
AA ✓ pass · AA-large · AAA
Aa
#3900df on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green0.0%
Blue87.5%

CMYK percentages

Cyan74.4%
Magenta100.0%
Yellow0.0%
Key (black)12.5%

Color previews

#3900df text on a black background

contrast 2.24:1

Card sample

#3900df text on a white background

contrast 9.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3900df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3900df in the Color Lab