Skip to content

#3f2ddc

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

RGB
63, 45, 220
HSL
246°, 71%, 52%
CMYK
71, 80, 0, 14
Luminance
0.0810

Every format

HEX#3f2ddc
RGBrgb(63, 45, 220)
HSLhsl(246, 71%, 52%)
CMYKcmyk(71%, 80%, 0%, 14%)
LABlab(34.2 59.2 -84.8)
LCHlch(34.2 103.4 304.9)
OKLCHoklch(0.459 0.246 275.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2ddc on white: 8.01:1
AA ✓ pass · AA-large · AAA
Aa
#3f2ddc on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green17.6%
Blue86.3%

CMYK percentages

Cyan71.4%
Magenta79.5%
Yellow0.0%
Key (black)13.7%

Color previews

#3f2ddc text on a black background

contrast 2.62:1

Card sample

#3f2ddc text on a white background

contrast 8.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2ddc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2ddc in the Color Lab