Skip to content

#3c4df1

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

RGB
60, 77, 241
HSL
234°, 87%, 59%
CMYK
75, 68, 0, 6
Luminance
0.1262

Every format

HEX#3c4df1
RGBrgb(60, 77, 241)
HSLhsl(234, 87%, 59%)
CMYKcmyk(75%, 68%, 0%, 6%)
LABlab(42.2 48.5 -83.5)
LCHlch(42.2 96.6 300.2)
OKLCHoklch(0.521 0.242 270.4)

Copy-ready code

/* CSS */
color: #3c4df1;
background-color: #3c4df1;
/* Tailwind (arbitrary) */
class="text-[#3c4df1] bg-[#3c4df1]"
/* SCSS */
$brand: #3c4df1;
/* SwiftUI */
Color(red: 0.235, green: 0.302, blue: 0.945)
/* Android */
Color.parseColor("#3c4df1")

Accessibility — WCAG contrast

Aa
#3c4df1 on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#3c4df1 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green30.2%
Blue94.5%

CMYK percentages

Cyan75.1%
Magenta68.0%
Yellow0.0%
Key (black)5.5%

Color previews

#3c4df1 text on a black background

contrast 3.52:1

Card sample

#3c4df1 text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c4df1;
Background color
Panel with #3c4df1 background
background-color: #3c4df1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3c4df1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(60, 77, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 77, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c4df1;
background: linear-gradient(135deg, #3c4df1, #A43CF1);

Monochromatic scale

Palettes built from #3c4df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c4df1 in the Color Lab