Skip to content

#3c2cf0

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

RGB
60, 44, 240
HSL
245°, 87%, 56%
CMYK
75, 82, 0, 6
Luminance
0.0905

Every format

HEX#3c2cf0
RGBrgb(60, 44, 240)
HSLhsl(245, 87%, 56%)
CMYKcmyk(75%, 82%, 0%, 6%)
LABlab(36.1 65.2 -93.0)
LCHlch(36.1 113.6 305.0)
OKLCHoklch(0.478 0.270 273.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c2cf0 on white: 7.47:1
AA ✓ pass · AA-large · AAA
Aa
#3c2cf0 on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green17.3%
Blue94.1%

CMYK percentages

Cyan75.0%
Magenta81.7%
Yellow0.0%
Key (black)5.9%

Color previews

#3c2cf0 text on a black background

contrast 2.81:1

Card sample

#3c2cf0 text on a white background

contrast 7.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c2cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c2cf0 in the Color Lab