Skip to content

#3f2cad

a dark, vivid blue · warm · closest name: indigo

RGB
63, 44, 173
HSL
249°, 59%, 43%
CMYK
64, 75, 0, 32
Luminance
0.0588

Every format

HEX#3f2cad
RGBrgb(63, 44, 173)
HSLhsl(249, 59%, 43%)
CMYKcmyk(64%, 75%, 0%, 32%)
LABlab(29.1 45.5 -65.6)
LCHlch(29.1 79.8 304.7)
OKLCHoklch(0.409 0.193 280.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2cad on white: 9.65:1
AA ✓ pass · AA-large · AAA
Aa
#3f2cad on black: 2.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green17.3%
Blue67.8%

CMYK percentages

Cyan63.6%
Magenta74.6%
Yellow0.0%
Key (black)32.2%

Color previews

#3f2cad text on a black background

contrast 2.18:1

Card sample

#3f2cad text on a white background

contrast 9.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2cad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2cad in the Color Lab