Skip to content

#3f2fcd

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

RGB
63, 47, 205
HSL
246°, 63%, 49%
CMYK
69, 77, 0, 20
Luminance
0.0750

Every format

HEX#3f2fcd
RGBrgb(63, 47, 205)
HSLhsl(246, 63%, 49%)
CMYKcmyk(69%, 77%, 0%, 20%)
LABlab(32.9 53.8 -78.2)
LCHlch(32.9 94.9 304.5)
OKLCHoklch(0.445 0.228 276.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2fcd on white: 8.40:1
AA ✓ pass · AA-large · AAA
Aa
#3f2fcd on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green18.4%
Blue80.4%

CMYK percentages

Cyan69.3%
Magenta77.1%
Yellow0.0%
Key (black)19.6%

Color previews

#3f2fcd text on a black background

contrast 2.50:1

Card sample

#3f2fcd text on a white background

contrast 8.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2fcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2fcd in the Color Lab