Skip to content

#4f39af

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

RGB
79, 57, 175
HSL
251°, 51%, 46%
CMYK
55, 67, 0, 31
Luminance
0.0768

Every format

HEX#4f39af
RGBrgb(79, 57, 175)
HSLhsl(251, 51%, 46%)
CMYKcmyk(55%, 67%, 0%, 31%)
LABlab(33.3 41.2 -59.8)
LCHlch(33.3 72.7 304.5)
OKLCHoklch(0.443 0.178 285.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f39af on white: 8.28:1
AA ✓ pass · AA-large · AAA
Aa
#4f39af on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green22.4%
Blue68.6%

CMYK percentages

Cyan54.9%
Magenta67.4%
Yellow0.0%
Key (black)31.4%

Color previews

#4f39af text on a black background

contrast 2.54:1

Card sample

#4f39af text on a white background

contrast 8.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 57, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 57, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f39af;
background: linear-gradient(135deg, #4f39af, #9E39AF);

Monochromatic scale

Palettes built from #4f39af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f39af in the Color Lab