Skip to content

#532dfb

a balanced, electric blue · warm · closest name: blue

RGB
83, 45, 251
HSL
251°, 96%, 58%
CMYK
67, 82, 0, 2
Luminance
0.1068

Every format

HEX#532dfb
RGBrgb(83, 45, 251)
HSLhsl(251, 96%, 58%)
CMYKcmyk(67%, 82%, 0%, 2%)
LABlab(39.0 69.4 -94.3)
LCHlch(39.0 117.1 306.3)
OKLCHoklch(0.506 0.275 278.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#532dfb on white: 6.70:1
AA ✓ pass · AA-large · AAA
Aa
#532dfb on black: 3.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green17.6%
Blue98.4%

CMYK percentages

Cyan66.9%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#532dfb text on a black background

contrast 3.14:1

Card sample

#532dfb text on a white background

contrast 6.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #532dfb;
Background color
Panel with #532dfb background
background-color: #532dfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #532dfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(83, 45, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 45, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #532dfb;
background: linear-gradient(135deg, #532dfb, #DC2DFB);

Monochromatic scale

Palettes built from #532dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #532dfb in the Color Lab