#554df0
a balanced, electric blue · warm · closest name: slateblue
RGB
85, 77, 240
HSL
243°, 85%, 62%
CMYK
65, 68, 0, 6
Luminance
0.1353
Every format
| HEX | #554df0 |
| RGB | rgb(85, 77, 240) |
| HSL | hsl(243, 85%, 62%) |
| CMYK | cmyk(65%, 68%, 0%, 6%) |
| LAB | lab(43.5 50.9 -80.7) |
| LCH | lch(43.5 95.4 302.2) |
| OKLCH | oklch(0.535 0.235 277.1) |
Copy-ready code
/* CSS */
color: #554df0;
background-color: #554df0;
/* Tailwind (arbitrary) */
class="text-[#554df0] bg-[#554df0]"
/* SCSS */
$brand: #554df0;
/* SwiftUI */
Color(red: 0.333, green: 0.302, blue: 0.941)
/* Android */
Color.parseColor("#554df0")Accessibility — WCAG contrast
Aa
#554df0 on white: 5.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554df0 on black: 3.71:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green30.2%
Blue94.1%
CMYK percentages
Cyan64.6%
Magenta67.9%
Yellow0.0%
Key (black)5.9%
Color previews
#554df0 text on a black background
contrast 3.71:1
Card sample
#554df0 text on a white background
contrast 5.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554df0;
Background color
Panel with #554df0 background
background-color: #554df0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554df0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 77, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 77, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554df0; background: linear-gradient(135deg, #554df0, #C24DF0);