Skip to content

#4545df

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

RGB
69, 69, 223
HSL
240°, 71%, 57%
CMYK
69, 69, 0, 13
Luminance
0.1085

Every format

HEX#4545df
RGBrgb(69, 69, 223)
HSLhsl(240, 71%, 57%)
CMYKcmyk(69%, 69%, 0%, 13%)
LABlab(39.3 48.1 -78.0)
LCHlch(39.3 91.7 301.7)
OKLCHoklch(0.497 0.226 274.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4545df on white: 6.62:1
AA ✓ pass · AA-large · AAA
Aa
#4545df on black: 3.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red27.1%
Green27.1%
Blue87.5%

CMYK percentages

Cyan69.1%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#4545df text on a black background

contrast 3.17:1

Card sample

#4545df text on a white background

contrast 6.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4545df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4545df in the Color Lab