Skip to content

#3d3fdf

a balanced, vivid blue · warm · closest name: slateblue

RGB
61, 63, 223
HSL
239°, 72%, 56%
CMYK
73, 72, 0, 13
Luminance
0.0987

Every format

HEX#3d3fdf
RGBrgb(61, 63, 223)
HSLhsl(239, 72%, 56%)
CMYKcmyk(73%, 72%, 0%, 13%)
LABlab(37.6 50.7 -80.8)
LCHlch(37.6 95.4 302.1)
OKLCHoklch(0.484 0.234 272.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d3fdf on white: 7.06:1
AA ✓ pass · AA-large · AAA
Aa
#3d3fdf on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green24.7%
Blue87.5%

CMYK percentages

Cyan72.6%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#3d3fdf text on a black background

contrast 2.97:1

Card sample

#3d3fdf text on a white background

contrast 7.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d3fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d3fdf in the Color Lab