#554ac2
a balanced, vivid blue · warm · closest name: slateblue
RGB
85, 74, 194
HSL
246°, 50%, 53%
CMYK
56, 62, 0, 24
Luminance
0.1072
Every format
| HEX | #554ac2 |
| RGB | rgb(85, 74, 194) |
| HSL | hsl(246, 50%, 53%) |
| CMYK | cmyk(56%, 62%, 0%, 24%) |
| LAB | lab(39.1 38.1 -61.6) |
| LCH | lch(39.1 72.4 301.8) |
| OKLCH | oklch(0.491 0.180 281.6) |
Copy-ready code
/* CSS */
color: #554ac2;
background-color: #554ac2;
/* Tailwind (arbitrary) */
class="text-[#554ac2] bg-[#554ac2]"
/* SCSS */
$brand: #554ac2;
/* SwiftUI */
Color(red: 0.333, green: 0.290, blue: 0.761)
/* Android */
Color.parseColor("#554ac2")Accessibility — WCAG contrast
Aa
#554ac2 on white: 6.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554ac2 on black: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green29.0%
Blue76.1%
CMYK percentages
Cyan56.2%
Magenta61.9%
Yellow0.0%
Key (black)23.9%
Color previews
#554ac2 text on a black background
contrast 3.14:1
Card sample
#554ac2 text on a white background
contrast 6.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554ac2;
Background color
Panel with #554ac2 background
background-color: #554ac2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554ac2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 74, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 74, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554ac2; background: linear-gradient(135deg, #554ac2, #A54AC2);