Skip to content

#3d0fd2

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

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

Every format

HEX#3d0fd2
RGBrgb(61, 15, 210)
HSLhsl(254, 87%, 44%)
CMYKcmyk(71%, 93%, 0%, 18%)
LABlab(29.4 66.7 -87.0)
LCHlch(29.4 109.6 307.5)
OKLCHoklch(0.422 0.253 276.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d0fd2 on white: 9.56:1
AA ✓ pass · AA-large · AAA
Aa
#3d0fd2 on black: 2.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#3d0fd2 text on a black background

contrast 2.20:1

Card sample

#3d0fd2 text on a white background

contrast 9.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d0fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d0fd2 in the Color Lab