#5b55ff
a light, electric blue · warm · closest name: slateblue
RGB
91, 85, 255
HSL
242°, 100%, 67%
CMYK
64, 67, 0, 0
Luminance
0.1594
Every format
| HEX | #5b55ff |
| RGB | rgb(91, 85, 255) |
| HSL | hsl(242, 100%, 67%) |
| CMYK | cmyk(64%, 67%, 0%, 0%) |
| LAB | lab(46.9 51.8 -83.5) |
| LCH | lch(46.9 98.3 301.8) |
| OKLCH | oklch(0.564 0.243 276.8) |
Copy-ready code
/* CSS */
color: #5b55ff;
background-color: #5b55ff;
/* Tailwind (arbitrary) */
class="text-[#5b55ff] bg-[#5b55ff]"
/* SCSS */
$brand: #5b55ff;
/* SwiftUI */
Color(red: 0.357, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#5b55ff")Accessibility — WCAG contrast
Aa
#5b55ff on white: 5.01:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5b55ff on black: 4.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red35.7%
Green33.3%
Blue100.0%
CMYK percentages
Cyan64.3%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#5b55ff text on a black background
contrast 4.19:1
Card sample
#5b55ff text on a white background
contrast 5.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5b55ff;
Background color
Panel with #5b55ff background
background-color: #5b55ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5b55ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(91, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b55ff; background: linear-gradient(135deg, #5b55ff, #CC55FF);