#554df2
a balanced, electric blue · warm · closest name: slateblue
RGB
85, 77, 242
HSL
243°, 86%, 63%
CMYK
65, 68, 0, 5
Luminance
0.1365
Every format
| HEX | #554df2 |
| RGB | rgb(85, 77, 242) |
| HSL | hsl(243, 86%, 63%) |
| CMYK | cmyk(65%, 68%, 0%, 5%) |
| LAB | lab(43.7 51.5 -81.5) |
| LCH | lch(43.7 96.4 302.3) |
| OKLCH | oklch(0.537 0.237 277.0) |
Copy-ready code
/* CSS */
color: #554df2;
background-color: #554df2;
/* Tailwind (arbitrary) */
class="text-[#554df2] bg-[#554df2]"
/* SCSS */
$brand: #554df2;
/* SwiftUI */
Color(red: 0.333, green: 0.302, blue: 0.949)
/* Android */
Color.parseColor("#554df2")Accessibility — WCAG contrast
Aa
#554df2 on white: 5.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554df2 on black: 3.73:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green30.2%
Blue94.9%
CMYK percentages
Cyan64.9%
Magenta68.2%
Yellow0.0%
Key (black)5.1%
Color previews
#554df2 text on a black background
contrast 3.73:1
Card sample
#554df2 text on a white background
contrast 5.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554df2;
Background color
Panel with #554df2 background
background-color: #554df2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554df2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 77, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 77, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554df2; background: linear-gradient(135deg, #554df2, #C34DF2);