#554ffc
a balanced, electric blue · warm · closest name: slateblue
RGB
85, 79, 252
HSL
242°, 97%, 65%
CMYK
66, 69, 0, 1
Luminance
0.1455
Every format
| HEX | #554ffc |
| RGB | rgb(85, 79, 252) |
| HSL | hsl(242, 97%, 65%) |
| CMYK | cmyk(66%, 69%, 0%, 1%) |
| LAB | lab(45.0 53.5 -85.0) |
| LCH | lch(45.0 100.4 302.2) |
| OKLCH | oklch(0.549 0.247 276.0) |
Copy-ready code
/* CSS */
color: #554ffc;
background-color: #554ffc;
/* Tailwind (arbitrary) */
class="text-[#554ffc] bg-[#554ffc]"
/* SCSS */
$brand: #554ffc;
/* SwiftUI */
Color(red: 0.333, green: 0.310, blue: 0.988)
/* Android */
Color.parseColor("#554ffc")Accessibility — WCAG contrast
Aa
#554ffc on white: 5.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554ffc on black: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green31.0%
Blue98.8%
CMYK percentages
Cyan66.3%
Magenta68.7%
Yellow0.0%
Key (black)1.2%
Color previews
#554ffc text on a black background
contrast 3.91:1
Card sample
#554ffc text on a white background
contrast 5.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554ffc;
Background color
Panel with #554ffc background
background-color: #554ffc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554ffc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 79, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 79, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554ffc; background: linear-gradient(135deg, #554ffc, #C84FFC);