#562cfd
a balanced, electric blue · warm · closest name: blue
RGB
86, 44, 253
HSL
252°, 98%, 58%
CMYK
66, 83, 0, 1
Luminance
0.1087
Every format
| HEX | #562cfd |
| RGB | rgb(86, 44, 253) |
| HSL | hsl(252, 98%, 58%) |
| CMYK | cmyk(66%, 83%, 0%, 1%) |
| LAB | lab(39.4 70.5 -94.9) |
| LCH | lch(39.4 118.2 306.6) |
| OKLCH | oklch(0.509 0.278 279.2) |
Copy-ready code
/* CSS */
color: #562cfd;
background-color: #562cfd;
/* Tailwind (arbitrary) */
class="text-[#562cfd] bg-[#562cfd]"
/* SCSS */
$brand: #562cfd;
/* SwiftUI */
Color(red: 0.337, green: 0.173, blue: 0.992)
/* Android */
Color.parseColor("#562cfd")Accessibility — WCAG contrast
Aa
#562cfd on white: 6.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#562cfd on black: 3.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green17.3%
Blue99.2%
CMYK percentages
Cyan66.0%
Magenta82.6%
Yellow0.0%
Key (black)0.8%
Color previews
#562cfd text on a black background
contrast 3.17:1
Card sample
#562cfd text on a white background
contrast 6.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #562cfd;
Background color
Panel with #562cfd background
background-color: #562cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #562cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562cfd; background: linear-gradient(135deg, #562cfd, #E12CFD);