Skip to content

#3f4fd1

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

RGB
63, 79, 209
HSL
233°, 61%, 53%
CMYK
70, 62, 0, 18
Luminance
0.1125

Every format

HEX#3f4fd1
RGBrgb(63, 79, 209)
HSLhsl(233, 61%, 53%)
CMYKcmyk(70%, 62%, 0%, 18%)
LABlab(40.0 36.7 -68.9)
LCHlch(40.0 78.0 298.0)
OKLCHoklch(0.497 0.199 271.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f4fd1 on white: 6.46:1
AA ✓ pass · AA-large · AAA
Aa
#3f4fd1 on black: 3.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan69.9%
Magenta62.2%
Yellow0.0%
Key (black)18.0%

Color previews

#3f4fd1 text on a black background

contrast 3.25:1

Card sample

#3f4fd1 text on a white background

contrast 6.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f4fd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f4fd1 in the Color Lab