Skip to content

#4f47df

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

RGB
79, 71, 223
HSL
243°, 70%, 58%
CMYK
65, 68, 0, 13
Luminance
0.1150

Every format

HEX#4f47df
RGBrgb(79, 71, 223)
HSLhsl(243, 70%, 58%)
CMYKcmyk(65%, 68%, 0%, 13%)
LABlab(40.4 48.2 -76.2)
LCHlch(40.4 90.2 302.3)
OKLCHoklch(0.507 0.222 277.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f47df on white: 6.37:1
AA ✓ pass · AA-large · AAA
Aa
#4f47df on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green27.8%
Blue87.5%

CMYK percentages

Cyan64.6%
Magenta68.2%
Yellow0.0%
Key (black)12.5%

Color previews

#4f47df text on a black background

contrast 3.30:1

Card sample

#4f47df text on a white background

contrast 6.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f47df;
Background color
Panel with #4f47df background
background-color: #4f47df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f47df;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #4f47df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f47df in the Color Lab