Skip to content

#4845df

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

RGB
72, 69, 223
HSL
241°, 71%, 57%
CMYK
68, 69, 0, 13
Luminance
0.1096

Every format

HEX#4845df
RGBrgb(72, 69, 223)
HSLhsl(241, 71%, 57%)
CMYKcmyk(68%, 69%, 0%, 13%)
LABlab(39.5 48.5 -77.7)
LCHlch(39.5 91.6 302.0)
OKLCHoklch(0.499 0.225 275.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4845df on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#4845df on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red28.2%
Green27.1%
Blue87.5%

CMYK percentages

Cyan67.7%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#4845df text on a black background

contrast 3.19:1

Card sample

#4845df text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4845df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4845df in the Color Lab