#554fba
a balanced, soft blue · warm · closest name: slateblue
RGB
85, 79, 186
HSL
243°, 44%, 52%
CMYK
54, 58, 0, 27
Luminance
0.1107
Every format
| HEX | #554fba |
| RGB | rgb(85, 79, 186) |
| HSL | hsl(243, 44%, 52%) |
| CMYK | cmyk(54%, 58%, 0%, 27%) |
| LAB | lab(39.7 32.5 -56.0) |
| LCH | lch(39.7 64.7 300.2) |
| OKLCH | oklch(0.493 0.163 281.1) |
Copy-ready code
/* CSS */
color: #554fba;
background-color: #554fba;
/* Tailwind (arbitrary) */
class="text-[#554fba] bg-[#554fba]"
/* SCSS */
$brand: #554fba;
/* SwiftUI */
Color(red: 0.333, green: 0.310, blue: 0.729)
/* Android */
Color.parseColor("#554fba")Accessibility — WCAG contrast
Aa
#554fba on white: 6.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554fba on black: 3.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green31.0%
Blue72.9%
CMYK percentages
Cyan54.3%
Magenta57.5%
Yellow0.0%
Key (black)27.1%
Color previews
#554fba text on a black background
contrast 3.21:1
Card sample
#554fba text on a white background
contrast 6.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554fba;
Background color
Panel with #554fba background
background-color: #554fba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554fba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 79, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 79, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554fba; background: linear-gradient(135deg, #554fba, #9C4FBA);