#548cf4
a balanced, electric blue · cool · closest name: dodgerblue
RGB
84, 140, 244
HSL
219°, 88%, 64%
CMYK
66, 43, 0, 4
Luminance
0.2717
Every format
| HEX | #548cf4 |
| RGB | rgb(84, 140, 244) |
| HSL | hsl(219, 88%, 64%) |
| CMYK | cmyk(66%, 43%, 0%, 4%) |
| LAB | lab(59.1 14.1 -57.6) |
| LCH | lch(59.1 59.4 283.8) |
| OKLCH | oklch(0.652 0.166 261.6) |
Copy-ready code
/* CSS */
color: #548cf4;
background-color: #548cf4;
/* Tailwind (arbitrary) */
class="text-[#548cf4] bg-[#548cf4]"
/* SCSS */
$brand: #548cf4;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.957)
/* Android */
Color.parseColor("#548cf4")Accessibility — WCAG contrast
Aa
#548cf4 on white: 3.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#548cf4 on black: 6.43:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green54.9%
Blue95.7%
CMYK percentages
Cyan65.6%
Magenta42.6%
Yellow0.0%
Key (black)4.3%
Color previews
#548cf4 text on a black background
contrast 6.43:1
Card sample
#548cf4 text on a white background
contrast 3.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #548cf4;
Background color
Panel with #548cf4 background
background-color: #548cf4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #548cf4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 140, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548cf4; background: linear-gradient(135deg, #548cf4, #8754F4);