Skip to content

#548cec

a balanced, electric blue · cool · closest name: dodgerblue

RGB
84, 140, 236
HSL
218°, 80%, 63%
CMYK
64, 41, 0, 8
Luminance
0.2670

Every format

HEX#548cec
RGBrgb(84, 140, 236)
HSLhsl(218, 80%, 63%)
CMYKcmyk(64%, 41%, 0%, 8%)
LABlab(58.7 11.4 -53.9)
LCHlch(58.7 55.1 282.0)
OKLCHoklch(0.647 0.156 260.5)

Copy-ready code

/* CSS */
color: #548cec;
background-color: #548cec;
/* Tailwind (arbitrary) */
class="text-[#548cec] bg-[#548cec]"
/* SCSS */
$brand: #548cec;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.925)
/* Android */
Color.parseColor("#548cec")

Accessibility — WCAG contrast

Aa
#548cec on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#548cec on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green54.9%
Blue92.5%

CMYK percentages

Cyan64.4%
Magenta40.7%
Yellow0.0%
Key (black)7.5%

Color previews

#548cec text on a black background

contrast 6.34:1

Card sample

#548cec text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #548cec;
Background color
Panel with #548cec background
background-color: #548cec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #548cec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(84, 140, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548cec;
background: linear-gradient(135deg, #548cec, #8154EC);

Monochromatic scale

Palettes built from #548cec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #548cec in the Color Lab