Skip to content

#3f2dff

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

RGB
63, 45, 255
HSL
245°, 100%, 59%
CMYK
75, 82, 0, 0
Luminance
0.1015

Every format

HEX#3f2dff
RGBrgb(63, 45, 255)
HSLhsl(245, 100%, 59%)
CMYKcmyk(75%, 82%, 0%, 0%)
LABlab(38.1 69.2 -98.1)
LCHlch(38.1 120.0 305.2)
OKLCHoklch(0.497 0.284 272.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2dff on white: 6.93:1
AA ✓ pass · AA-large · AAA
Aa
#3f2dff on black: 3.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green17.6%
Blue100.0%

CMYK percentages

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

Color previews

#3f2dff text on a black background

contrast 3.03:1

Card sample

#3f2dff text on a white background

contrast 6.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2dff in the Color Lab