Skip to content

#3c0fd2

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

RGB
60, 15, 210
HSL
254°, 87%, 44%
CMYK
71, 93, 0, 18
Luminance
0.0596

Every format

HEX#3c0fd2
RGBrgb(60, 15, 210)
HSLhsl(254, 87%, 44%)
CMYKcmyk(71%, 93%, 0%, 18%)
LABlab(29.3 66.7 -87.1)
LCHlch(29.3 109.7 307.4)
OKLCHoklch(0.421 0.253 276.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red23.5%
Green5.9%
Blue82.4%

CMYK percentages

Cyan71.4%
Magenta92.9%
Yellow0.0%
Key (black)17.6%

Color previews

#3c0fd2 text on a black background

contrast 2.19:1

Card sample

#3c0fd2 text on a white background

contrast 9.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c0fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c0fd2 in the Color Lab