#554ef1
a balanced, electric blue · warm · closest name: slateblue
RGB
85, 78, 241
HSL
243°, 85%, 63%
CMYK
65, 68, 0, 6
Luminance
0.1373
Every format
| HEX | #554ef1 |
| RGB | rgb(85, 78, 241) |
| HSL | hsl(243, 85%, 63%) |
| CMYK | cmyk(65%, 68%, 0%, 6%) |
| LAB | lab(43.8 50.6 -80.7) |
| LCH | lch(43.8 95.3 302.1) |
| OKLCH | oklch(0.537 0.235 276.9) |
Copy-ready code
/* CSS */
color: #554ef1;
background-color: #554ef1;
/* Tailwind (arbitrary) */
class="text-[#554ef1] bg-[#554ef1]"
/* SCSS */
$brand: #554ef1;
/* SwiftUI */
Color(red: 0.333, green: 0.306, blue: 0.945)
/* Android */
Color.parseColor("#554ef1")Accessibility — WCAG contrast
Aa
#554ef1 on white: 5.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554ef1 on black: 3.75:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green30.6%
Blue94.5%
CMYK percentages
Cyan64.7%
Magenta67.6%
Yellow0.0%
Key (black)5.5%
Color previews
#554ef1 text on a black background
contrast 3.75:1
Card sample
#554ef1 text on a white background
contrast 5.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554ef1;
Background color
Panel with #554ef1 background
background-color: #554ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 78, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 78, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554ef1; background: linear-gradient(135deg, #554ef1, #C24EF1);