Skip to content

#5442df

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

RGB
84, 66, 223
HSL
247°, 71%, 57%
CMYK
62, 70, 0, 13
Luminance
0.1111

Every format

HEX#5442df
RGBrgb(84, 66, 223)
HSLhsl(247, 71%, 57%)
CMYKcmyk(62%, 70%, 0%, 13%)
LABlab(39.8 51.6 -77.3)
LCHlch(39.8 92.9 303.7)
OKLCHoklch(0.503 0.226 279.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5442df on white: 6.52:1
AA ✓ pass · AA-large · AAA
Aa
#5442df on black: 3.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green25.9%
Blue87.5%

CMYK percentages

Cyan62.3%
Magenta70.4%
Yellow0.0%
Key (black)12.5%

Color previews

#5442df text on a black background

contrast 3.22:1

Card sample

#5442df text on a white background

contrast 6.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5442df;
Background color
Panel with #5442df background
background-color: #5442df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5442df;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #5442df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5442df in the Color Lab