Skip to content

#3c2fac

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

RGB
60, 47, 172
HSL
246°, 57%, 43%
CMYK
65, 73, 0, 33
Luminance
0.0597

Every format

HEX#3c2fac
RGBrgb(60, 47, 172)
HSLhsl(246, 57%, 43%)
CMYKcmyk(65%, 73%, 0%, 33%)
LABlab(29.3 43.1 -64.6)
LCHlch(29.3 77.7 303.7)
OKLCHoklch(0.409 0.189 278.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c2fac on white: 9.57:1
AA ✓ pass · AA-large · AAA
Aa
#3c2fac on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green18.4%
Blue67.5%

CMYK percentages

Cyan65.1%
Magenta72.7%
Yellow0.0%
Key (black)32.5%

Color previews

#3c2fac text on a black background

contrast 2.19:1

Card sample

#3c2fac text on a white background

contrast 9.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c2fac in the Color Lab