Skip to content

#390df2

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

RGB
57, 13, 242
HSL
252°, 90%, 50%
CMYK
76, 95, 0, 5
Luminance
0.0757

Every format

HEX#390df2
RGBrgb(57, 13, 242)
HSLhsl(252, 90%, 50%)
CMYKcmyk(76%, 95%, 0%, 5%)
LABlab(33.1 74.9 -99.2)
LCHlch(33.1 124.3 307.0)
OKLCHoklch(0.458 0.287 272.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#390df2 on white: 8.35:1
AA ✓ pass · AA-large · AAA
Aa
#390df2 on black: 2.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green5.1%
Blue94.9%

CMYK percentages

Cyan76.4%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#390df2 text on a black background

contrast 2.51:1

Card sample

#390df2 text on a white background

contrast 8.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #390df2;
Background color
Panel with #390df2 background
background-color: #390df2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #390df2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 13, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 13, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #390df2;
background: linear-gradient(135deg, #390df2, #D20DF2);

Monochromatic scale

Palettes built from #390df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #390df2 in the Color Lab