Skip to content

#3f4fd2

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

RGB
63, 79, 210
HSL
234°, 62%, 54%
CMYK
70, 62, 0, 18
Luminance
0.1130

Every format

HEX#3f4fd2
RGBrgb(63, 79, 210)
HSLhsl(234, 62%, 54%)
CMYKcmyk(70%, 62%, 0%, 18%)
LABlab(40.1 37.0 -69.3)
LCHlch(40.1 78.6 298.1)
OKLCHoklch(0.498 0.200 271.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f4fd2 on white: 6.44:1
AA ✓ pass · AA-large · AAA
Aa
#3f4fd2 on black: 3.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green31.0%
Blue82.4%

CMYK percentages

Cyan70.0%
Magenta62.4%
Yellow0.0%
Key (black)17.6%

Color previews

#3f4fd2 text on a black background

contrast 3.26:1

Card sample

#3f4fd2 text on a white background

contrast 6.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f4fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f4fd2 in the Color Lab