#548cfa
a light, electric blue · cool · closest name: dodgerblue
RGB
84, 140, 250
HSL
220°, 94%, 66%
CMYK
66, 44, 0, 2
Luminance
0.2754
Every format
| HEX | #548cfa |
| RGB | rgb(84, 140, 250) |
| HSL | hsl(220, 94%, 66%) |
| CMYK | cmyk(66%, 44%, 0%, 2%) |
| LAB | lab(59.5 16.2 -60.4) |
| LCH | lch(59.5 62.5 285.0) |
| OKLCH | oklch(0.656 0.174 262.3) |
Copy-ready code
/* CSS */
color: #548cfa;
background-color: #548cfa;
/* Tailwind (arbitrary) */
class="text-[#548cfa] bg-[#548cfa]"
/* SCSS */
$brand: #548cfa;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.980)
/* Android */
Color.parseColor("#548cfa")Accessibility — WCAG contrast
Aa
#548cfa on white: 3.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#548cfa on black: 6.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green54.9%
Blue98.0%
CMYK percentages
Cyan66.4%
Magenta44.0%
Yellow0.0%
Key (black)2.0%
Color previews
#548cfa text on a black background
contrast 6.51:1
Card sample
#548cfa text on a white background
contrast 3.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #548cfa;
Background color
Panel with #548cfa background
background-color: #548cfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #548cfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 140, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548cfa; background: linear-gradient(135deg, #548cfa, #8B54FA);