#564df2
a balanced, electric blue · warm · closest name: slateblue
RGB
86, 77, 242
HSL
243°, 86%, 63%
CMYK
65, 68, 0, 5
Luminance
0.1370
Every format
| HEX | #564df2 |
| RGB | rgb(86, 77, 242) |
| HSL | hsl(243, 86%, 63%) |
| CMYK | cmyk(65%, 68%, 0%, 5%) |
| LAB | lab(43.8 51.6 -81.4) |
| LCH | lch(43.8 96.4 302.4) |
| OKLCH | oklch(0.537 0.237 277.3) |
Copy-ready code
/* CSS */
color: #564df2;
background-color: #564df2;
/* Tailwind (arbitrary) */
class="text-[#564df2] bg-[#564df2]"
/* SCSS */
$brand: #564df2;
/* SwiftUI */
Color(red: 0.337, green: 0.302, blue: 0.949)
/* Android */
Color.parseColor("#564df2")Accessibility — WCAG contrast
Aa
#564df2 on white: 5.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#564df2 on black: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green30.2%
Blue94.9%
CMYK percentages
Cyan64.5%
Magenta68.2%
Yellow0.0%
Key (black)5.1%
Color previews
#564df2 text on a black background
contrast 3.74:1
Card sample
#564df2 text on a white background
contrast 5.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #564df2;
Background color
Panel with #564df2 background
background-color: #564df2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #564df2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 77, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 77, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #564df2; background: linear-gradient(135deg, #564df2, #C44DF2);