Skip to content

#3c2dfd

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

RGB
60, 45, 253
HSL
244°, 98%, 58%
CMYK
76, 82, 0, 1
Luminance
0.0993

Every format

HEX#3c2dfd
RGBrgb(60, 45, 253)
HSLhsl(244, 98%, 58%)
CMYKcmyk(76%, 82%, 0%, 1%)
LABlab(37.7 68.5 -97.7)
LCHlch(37.7 119.3 305.0)
OKLCHoklch(0.493 0.283 272.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c2dfd on white: 7.03:1
AA ✓ pass · AA-large · AAA
Aa
#3c2dfd on black: 2.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green17.6%
Blue99.2%

CMYK percentages

Cyan76.3%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#3c2dfd text on a black background

contrast 2.99:1

Card sample

#3c2dfd text on a white background

contrast 7.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c2dfd in the Color Lab