#554ac8
a balanced, vivid blue · warm · closest name: slateblue
RGB
85, 74, 200
HSL
245°, 53%, 54%
CMYK
58, 63, 0, 22
Luminance
0.1100
Every format
| HEX | #554ac8 |
| RGB | rgb(85, 74, 200) |
| HSL | hsl(245, 53%, 54%) |
| CMYK | cmyk(58%, 63%, 0%, 22%) |
| LAB | lab(39.6 40.0 -64.3) |
| LCH | lch(39.6 75.7 301.9) |
| OKLCH | oklch(0.496 0.188 281.0) |
Copy-ready code
/* CSS */
color: #554ac8;
background-color: #554ac8;
/* Tailwind (arbitrary) */
class="text-[#554ac8] bg-[#554ac8]"
/* SCSS */
$brand: #554ac8;
/* SwiftUI */
Color(red: 0.333, green: 0.290, blue: 0.784)
/* Android */
Color.parseColor("#554ac8")Accessibility — WCAG contrast
Aa
#554ac8 on white: 6.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554ac8 on black: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green29.0%
Blue78.4%
CMYK percentages
Cyan57.5%
Magenta63.0%
Yellow0.0%
Key (black)21.6%
Color previews
#554ac8 text on a black background
contrast 3.20:1
Card sample
#554ac8 text on a white background
contrast 6.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554ac8;
Background color
Panel with #554ac8 background
background-color: #554ac8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554ac8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 74, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 74, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554ac8; background: linear-gradient(135deg, #554ac8, #A94AC8);