Skip to content

#5345df

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

RGB
83, 69, 223
HSL
246°, 71%, 57%
CMYK
63, 69, 0, 13
Luminance
0.1142

Every format

HEX#5345df
RGBrgb(83, 69, 223)
HSLhsl(246, 71%, 57%)
CMYKcmyk(63%, 69%, 0%, 13%)
LABlab(40.3 49.8 -76.4)
LCHlch(40.3 91.2 303.1)
OKLCHoklch(0.506 0.223 278.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5345df on white: 6.39:1
AA ✓ pass · AA-large · AAA
Aa
#5345df on black: 3.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green27.1%
Blue87.5%

CMYK percentages

Cyan62.8%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#5345df text on a black background

contrast 3.28:1

Card sample

#5345df text on a white background

contrast 6.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5345df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5345df in the Color Lab