#532cf2
a balanced, electric blue · warm · closest name: blue
RGB
83, 44, 242
HSL
252°, 88%, 56%
CMYK
66, 82, 0, 5
Luminance
0.1005
Every format
| HEX | #532cf2 |
| RGB | rgb(83, 44, 242) |
| HSL | hsl(252, 88%, 56%) |
| CMYK | cmyk(66%, 82%, 0%, 5%) |
| LAB | lab(37.9 67.3 -91.1) |
| LCH | lch(37.9 113.3 306.5) |
| OKLCH | oklch(0.495 0.267 279.4) |
Copy-ready code
/* CSS */
color: #532cf2;
background-color: #532cf2;
/* Tailwind (arbitrary) */
class="text-[#532cf2] bg-[#532cf2]"
/* SCSS */
$brand: #532cf2;
/* SwiftUI */
Color(red: 0.325, green: 0.173, blue: 0.949)
/* Android */
Color.parseColor("#532cf2")Accessibility — WCAG contrast
Aa
#532cf2 on white: 6.98:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#532cf2 on black: 3.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green17.3%
Blue94.9%
CMYK percentages
Cyan65.7%
Magenta81.8%
Yellow0.0%
Key (black)5.1%
Color previews
#532cf2 text on a black background
contrast 3.01:1
Card sample
#532cf2 text on a white background
contrast 6.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #532cf2;
Background color
Panel with #532cf2 background
background-color: #532cf2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #532cf2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 44, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 44, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #532cf2; background: linear-gradient(135deg, #532cf2, #D72CF2);