#5352df
a balanced, vivid blue · warm · closest name: slateblue
RGB
83, 82, 223
HSL
240°, 69%, 60%
CMYK
63, 63, 0, 13
Luminance
0.1320
Every format
| HEX | #5352df |
| RGB | rgb(83, 82, 223) |
| HSL | hsl(240, 69%, 60%) |
| CMYK | cmyk(63%, 63%, 0%, 13%) |
| LAB | lab(43.1 42.3 -71.8) |
| LCH | lch(43.1 83.4 300.5) |
| OKLCH | oklch(0.527 0.208 276.8) |
Copy-ready code
/* CSS */
color: #5352df;
background-color: #5352df;
/* Tailwind (arbitrary) */
class="text-[#5352df] bg-[#5352df]"
/* SCSS */
$brand: #5352df;
/* SwiftUI */
Color(red: 0.325, green: 0.322, blue: 0.875)
/* Android */
Color.parseColor("#5352df")Accessibility — WCAG contrast
Aa
#5352df on white: 5.77:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5352df on black: 3.64:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green32.2%
Blue87.5%
CMYK percentages
Cyan62.8%
Magenta63.2%
Yellow0.0%
Key (black)12.5%
Color previews
#5352df text on a black background
contrast 3.64:1
Card sample
#5352df text on a white background
contrast 5.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5352df;
Background color
Panel with #5352df background
background-color: #5352df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5352df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 82, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 82, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5352df; background: linear-gradient(135deg, #5352df, #B152DF);