Skip to content

#3950df

a balanced, vivid blue · warm · closest name: slateblue

RGB
57, 80, 223
HSL
232°, 72%, 55%
CMYK
74, 64, 0, 13
Luminance
0.1193

Every format

HEX#3950df
RGBrgb(57, 80, 223)
HSLhsl(232, 72%, 55%)
CMYKcmyk(74%, 64%, 0%, 13%)
LABlab(41.1 40.3 -75.1)
LCHlch(41.1 85.2 298.2)
OKLCHoklch(0.508 0.217 269.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3950df on white: 6.20:1
AA ✓ pass · AA-large · AAA
Aa
#3950df on black: 3.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green31.4%
Blue87.5%

CMYK percentages

Cyan74.4%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#3950df text on a black background

contrast 3.39:1

Card sample

#3950df text on a white background

contrast 6.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3950df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3950df in the Color Lab