Skip to content

#4792f4

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

RGB
71, 146, 244
HSL
214°, 89%, 62%
CMYK
71, 40, 0, 4
Luminance
0.2843

Every format

HEX#4792f4
RGBrgb(71, 146, 244)
HSLhsl(214, 89%, 62%)
CMYKcmyk(71%, 40%, 0%, 4%)
LABlab(60.3 8.6 -55.9)
LCHlch(60.3 56.5 278.8)
OKLCHoklch(0.660 0.164 256.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4792f4 on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#4792f4 on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red27.8%
Green57.3%
Blue95.7%

CMYK percentages

Cyan70.9%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#4792f4 text on a black background

contrast 6.69:1

Card sample

#4792f4 text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4792f4;
Background color
Panel with #4792f4 background
background-color: #4792f4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4792f4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(71, 146, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(71, 146, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4792f4;
background: linear-gradient(135deg, #4792f4, #7047F4);

Monochromatic scale

Palettes built from #4792f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4792f4 in the Color Lab