#548cef
a balanced, electric blue · cool · closest name: dodgerblue
RGB
84, 140, 239
HSL
218°, 83%, 63%
CMYK
65, 41, 0, 6
Luminance
0.2687
Every format
| HEX | #548cef |
| RGB | rgb(84, 140, 239) |
| HSL | hsl(218, 83%, 63%) |
| CMYK | cmyk(65%, 41%, 0%, 6%) |
| LAB | lab(58.9 12.4 -55.3) |
| LCH | lch(58.9 56.7 282.7) |
| OKLCH | oklch(0.649 0.160 260.9) |
Copy-ready code
/* CSS */
color: #548cef;
background-color: #548cef;
/* Tailwind (arbitrary) */
class="text-[#548cef] bg-[#548cef]"
/* SCSS */
$brand: #548cef;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.937)
/* Android */
Color.parseColor("#548cef")Accessibility — WCAG contrast
Aa
#548cef on white: 3.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#548cef on black: 6.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green54.9%
Blue93.7%
CMYK percentages
Cyan64.9%
Magenta41.4%
Yellow0.0%
Key (black)6.3%
Color previews
#548cef text on a black background
contrast 6.37:1
Card sample
#548cef text on a white background
contrast 3.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #548cef;
Background color
Panel with #548cef background
background-color: #548cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #548cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 140, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548cef; background: linear-gradient(135deg, #548cef, #8354EF);