#562cff
a balanced, electric blue · warm · closest name: blue
RGB
86, 44, 255
HSL
252°, 100%, 59%
CMYK
66, 83, 0, 0
Luminance
0.1100
Every format
| HEX | #562cff |
| RGB | rgb(86, 44, 255) |
| HSL | hsl(252, 100%, 59%) |
| CMYK | cmyk(66%, 83%, 0%, 0%) |
| LAB | lab(39.6 71.0 -95.6) |
| LCH | lch(39.6 119.1 306.6) |
| OKLCH | oklch(0.511 0.280 279.0) |
Copy-ready code
/* CSS */
color: #562cff;
background-color: #562cff;
/* Tailwind (arbitrary) */
class="text-[#562cff] bg-[#562cff]"
/* SCSS */
$brand: #562cff;
/* SwiftUI */
Color(red: 0.337, green: 0.173, blue: 1.000)
/* Android */
Color.parseColor("#562cff")Accessibility — WCAG contrast
Aa
#562cff on white: 6.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#562cff on black: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green17.3%
Blue100.0%
CMYK percentages
Cyan66.3%
Magenta82.7%
Yellow0.0%
Key (black)0.0%
Color previews
#562cff text on a black background
contrast 3.20:1
Card sample
#562cff text on a white background
contrast 6.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #562cff;
Background color
Panel with #562cff background
background-color: #562cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #562cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 44, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 44, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562cff; background: linear-gradient(135deg, #562cff, #E22CFF);