#554afb
a balanced, electric blue · warm · closest name: blue
RGB
85, 74, 251
HSL
244°, 96%, 64%
CMYK
66, 71, 0, 2
Luminance
0.1379
Every format
| HEX | #554afb |
| RGB | rgb(85, 74, 251) |
| HSL | hsl(244, 96%, 64%) |
| CMYK | cmyk(66%, 71%, 0%, 2%) |
| LAB | lab(43.9 55.9 -86.2) |
| LCH | lch(43.9 102.8 303.0) |
| OKLCH | oklch(0.541 0.251 276.7) |
Copy-ready code
/* CSS */
color: #554afb;
background-color: #554afb;
/* Tailwind (arbitrary) */
class="text-[#554afb] bg-[#554afb]"
/* SCSS */
$brand: #554afb;
/* SwiftUI */
Color(red: 0.333, green: 0.290, blue: 0.984)
/* Android */
Color.parseColor("#554afb")Accessibility — WCAG contrast
Aa
#554afb on white: 5.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#554afb on black: 3.76:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.3%
Green29.0%
Blue98.4%
CMYK percentages
Cyan66.1%
Magenta70.5%
Yellow0.0%
Key (black)1.6%
Color previews
#554afb text on a black background
contrast 3.76:1
Card sample
#554afb text on a white background
contrast 5.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #554afb;
Background color
Panel with #554afb background
background-color: #554afb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #554afb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(85, 74, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 74, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #554afb; background: linear-gradient(135deg, #554afb, #CB4AFB);