#5641df
a balanced, vivid blue · warm · closest name: slateblue
RGB
86, 65, 223
HSL
248°, 71%, 57%
CMYK
61, 71, 0, 13
Luminance
0.1109
Every format
| HEX | #5641df |
| RGB | rgb(86, 65, 223) |
| HSL | hsl(248, 71%, 57%) |
| CMYK | cmyk(61%, 71%, 0%, 13%) |
| LAB | lab(39.7 52.4 -77.3) |
| LCH | lch(39.7 93.4 304.1) |
| OKLCH | oklch(0.503 0.227 280.5) |
Copy-ready code
/* CSS */
color: #5641df;
background-color: #5641df;
/* Tailwind (arbitrary) */
class="text-[#5641df] bg-[#5641df]"
/* SCSS */
$brand: #5641df;
/* SwiftUI */
Color(red: 0.337, green: 0.255, blue: 0.875)
/* Android */
Color.parseColor("#5641df")Accessibility — WCAG contrast
Aa
#5641df on white: 6.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5641df on black: 3.22:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green25.5%
Blue87.5%
CMYK percentages
Cyan61.4%
Magenta70.9%
Yellow0.0%
Key (black)12.5%
Color previews
#5641df text on a black background
contrast 3.22:1
Card sample
#5641df text on a white background
contrast 6.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5641df;
Background color
Panel with #5641df background
background-color: #5641df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5641df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 65, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 65, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5641df; background: linear-gradient(135deg, #5641df, #BF41DF);