#574abc
a balanced, vivid blue · warm · closest name: slateblue
RGB
87, 74, 188
HSL
247°, 46%, 51%
CMYK
54, 61, 0, 26
Luminance
0.1055
Every format
| HEX | #574abc |
| RGB | rgb(87, 74, 188) |
| HSL | hsl(247, 46%, 51%) |
| CMYK | cmyk(54%, 61%, 0%, 26%) |
| LAB | lab(38.8 36.6 -58.5) |
| LCH | lch(38.8 69.0 302.0) |
| OKLCH | oklch(0.488 0.172 283.1) |
Copy-ready code
/* CSS */
color: #574abc;
background-color: #574abc;
/* Tailwind (arbitrary) */
class="text-[#574abc] bg-[#574abc]"
/* SCSS */
$brand: #574abc;
/* SwiftUI */
Color(red: 0.341, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#574abc")Accessibility — WCAG contrast
Aa
#574abc on white: 6.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#574abc on black: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red34.1%
Green29.0%
Blue73.7%
CMYK percentages
Cyan53.7%
Magenta60.6%
Yellow0.0%
Key (black)26.3%
Color previews
#574abc text on a black background
contrast 3.11:1
Card sample
#574abc text on a white background
contrast 6.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #574abc;
Background color
Panel with #574abc background
background-color: #574abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #574abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(87, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #574abc; background: linear-gradient(135deg, #574abc, #A34ABC);