Skip to content

#3f2dec

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

RGB
63, 45, 236
HSL
246°, 83%, 55%
CMYK
73, 81, 0, 8
Luminance
0.0899

Every format

HEX#3f2dec
RGBrgb(63, 45, 236)
HSLhsl(246, 83%, 55%)
CMYKcmyk(73%, 81%, 0%, 8%)
LABlab(36.0 63.8 -91.0)
LCHlch(36.0 111.1 305.1)
OKLCHoklch(0.476 0.264 274.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2dec on white: 7.51:1
AA ✓ pass · AA-large · AAA
Aa
#3f2dec on black: 2.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green17.6%
Blue92.5%

CMYK percentages

Cyan73.3%
Magenta80.9%
Yellow0.0%
Key (black)7.5%

Color previews

#3f2dec text on a black background

contrast 2.80:1

Card sample

#3f2dec text on a white background

contrast 7.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 45, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 45, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f2dec;
background: linear-gradient(135deg, #3f2dec, #BE2DEC);

Monochromatic scale

Palettes built from #3f2dec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2dec in the Color Lab