#564fdf
a balanced, vivid blue · warm · closest name: slateblue
RGB
86, 79, 223
HSL
243°, 69%, 59%
CMYK
61, 65, 0, 13
Luminance
0.1290
Every format
| HEX | #564fdf |
| RGB | rgb(86, 79, 223) |
| HSL | hsl(243, 69%, 59%) |
| CMYK | cmyk(61%, 65%, 0%, 13%) |
| LAB | lab(42.6 44.5 -72.6) |
| LCH | lch(42.6 85.2 301.5) |
| OKLCH | oklch(0.524 0.211 278.4) |
Copy-ready code
/* CSS */
color: #564fdf;
background-color: #564fdf;
/* Tailwind (arbitrary) */
class="text-[#564fdf] bg-[#564fdf]"
/* SCSS */
$brand: #564fdf;
/* SwiftUI */
Color(red: 0.337, green: 0.310, blue: 0.875)
/* Android */
Color.parseColor("#564fdf")Accessibility — WCAG contrast
Aa
#564fdf on white: 5.87:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#564fdf on black: 3.58:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green31.0%
Blue87.5%
CMYK percentages
Cyan61.4%
Magenta64.6%
Yellow0.0%
Key (black)12.5%
Color previews
#564fdf text on a black background
contrast 3.58:1
Card sample
#564fdf text on a white background
contrast 5.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #564fdf;
Background color
Panel with #564fdf background
background-color: #564fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #564fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 79, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 79, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #564fdf; background: linear-gradient(135deg, #564fdf, #B64FDF);