#565dfd
a light, electric blue · warm · closest name: royalblue
RGB
86, 93, 253
HSL
238°, 98%, 67%
CMYK
66, 63, 0, 1
Luminance
0.1690
Every format
| HEX | #565dfd |
| RGB | rgb(86, 93, 253) |
| HSL | hsl(238, 98%, 67%) |
| CMYK | cmyk(66%, 63%, 0%, 1%) |
| LAB | lab(48.1 46.0 -80.4) |
| LCH | lch(48.1 92.6 299.7) |
| OKLCH | oklch(0.572 0.233 274.3) |
Copy-ready code
/* CSS */
color: #565dfd;
background-color: #565dfd;
/* Tailwind (arbitrary) */
class="text-[#565dfd] bg-[#565dfd]"
/* SCSS */
$brand: #565dfd;
/* SwiftUI */
Color(red: 0.337, green: 0.365, blue: 0.992)
/* Android */
Color.parseColor("#565dfd")Accessibility — WCAG contrast
Aa
#565dfd on white: 4.79:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#565dfd on black: 4.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green36.5%
Blue99.2%
CMYK percentages
Cyan66.0%
Magenta63.2%
Yellow0.0%
Key (black)0.8%
Color previews
#565dfd text on a black background
contrast 4.38:1
Card sample
#565dfd text on a white background
contrast 4.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #565dfd;
Background color
Panel with #565dfd background
background-color: #565dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #565dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 93, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 93, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #565dfd; background: linear-gradient(135deg, #565dfd, #BE56FD);