Skip to content

#546df4

a balanced, electric blue · warm · closest name: royalblue

RGB
84, 109, 244
HSL
231°, 88%, 64%
CMYK
66, 55, 0, 4
Luminance
0.1935

Every format

HEX#546df4
RGBrgb(84, 109, 244)
HSLhsl(231, 88%, 64%)
CMYKcmyk(66%, 55%, 0%, 4%)
LABlab(51.1 33.1 -70.6)
LCHlch(51.1 78.0 295.1)
OKLCHoklch(0.591 0.203 270.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#546df4 on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#546df4 on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green42.7%
Blue95.7%

CMYK percentages

Cyan65.6%
Magenta55.3%
Yellow0.0%
Key (black)4.3%

Color previews

#546df4 text on a black background

contrast 4.87:1

Card sample

#546df4 text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #546df4;
Background color
Panel with #546df4 background
background-color: #546df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #546df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(84, 109, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 109, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #546df4;
background: linear-gradient(135deg, #546df4, #A654F4);

Monochromatic scale

Palettes built from #546df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #546df4 in the Color Lab