Skip to content

#3d3db8

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

RGB
61, 61, 184
HSL
240°, 50%, 48%
CMYK
67, 67, 0, 28
Luminance
0.0779

Every format

HEX#3d3db8
RGBrgb(61, 61, 184)
HSLhsl(240, 50%, 48%)
CMYKcmyk(67%, 67%, 0%, 28%)
LABlab(33.5 39.0 -64.9)
LCHlch(33.5 75.7 301.0)
OKLCHoklch(0.443 0.188 275.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d3db8 on white: 8.21:1
AA ✓ pass · AA-large · AAA
Aa
#3d3db8 on black: 2.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green23.9%
Blue72.2%

CMYK percentages

Cyan66.8%
Magenta66.8%
Yellow0.0%
Key (black)27.8%

Color previews

#3d3db8 text on a black background

contrast 2.56:1

Card sample

#3d3db8 text on a white background

contrast 8.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d3db8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d3db8 in the Color Lab