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