#532fdf
a balanced, vivid blue · warm · closest name: blue
RGB
83, 47, 223
HSL
252°, 73%, 53%
CMYK
63, 79, 0, 13
Luminance
0.0920
Every format
| HEX | #532fdf |
| RGB | rgb(83, 47, 223) |
| HSL | hsl(252, 73%, 53%) |
| CMYK | cmyk(63%, 79%, 0%, 13%) |
| LAB | lab(36.4 60.9 -82.8) |
| LCH | lch(36.4 102.8 306.3) |
| OKLCH | oklch(0.479 0.244 281.4) |
Copy-ready code
/* CSS */
color: #532fdf;
background-color: #532fdf;
/* Tailwind (arbitrary) */
class="text-[#532fdf] bg-[#532fdf]"
/* SCSS */
$brand: #532fdf;
/* SwiftUI */
Color(red: 0.325, green: 0.184, blue: 0.875)
/* Android */
Color.parseColor("#532fdf")Accessibility — WCAG contrast
Aa
#532fdf on white: 7.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#532fdf on black: 2.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green18.4%
Blue87.5%
CMYK percentages
Cyan62.8%
Magenta78.9%
Yellow0.0%
Key (black)12.5%
Color previews
#532fdf text on a black background
contrast 2.84:1
Card sample
#532fdf text on a white background
contrast 7.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #532fdf;
Background color
Panel with #532fdf background
background-color: #532fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #532fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #532fdf; background: linear-gradient(135deg, #532fdf, #C82FDF);