Skip to content

#3f2cff

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

RGB
63, 44, 255
HSL
245°, 100%, 59%
CMYK
75, 83, 0, 0
Luminance
0.1008

Every format

HEX#3f2cff
RGBrgb(63, 44, 255)
HSLhsl(245, 100%, 59%)
CMYKcmyk(75%, 83%, 0%, 0%)
LABlab(38.0 69.6 -98.3)
LCHlch(38.0 120.5 305.3)
OKLCHoklch(0.496 0.285 272.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2cff on white: 6.96:1
AA ✓ pass · AA-large · AAA
Aa
#3f2cff on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green17.3%
Blue100.0%

CMYK percentages

Cyan75.3%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#3f2cff text on a black background

contrast 3.02:1

Card sample

#3f2cff text on a white background

contrast 6.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2cff in the Color Lab