Skip to content

#3f3fdf

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

RGB
63, 63, 223
HSL
240°, 71%, 56%
CMYK
72, 72, 0, 13
Luminance
0.0994

Every format

HEX#3f3fdf
RGBrgb(63, 63, 223)
HSLhsl(240, 71%, 56%)
CMYKcmyk(72%, 72%, 0%, 13%)
LABlab(37.7 50.9 -80.6)
LCHlch(37.7 95.4 302.3)
OKLCHoklch(0.485 0.234 273.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red24.7%
Green24.7%
Blue87.5%

CMYK percentages

Cyan71.7%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#3f3fdf text on a black background

contrast 2.99:1

Card sample

#3f3fdf text on a white background

contrast 7.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f3fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f3fdf in the Color Lab