Skip to content

#508cf4

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

RGB
80, 140, 244
HSL
218°, 88%, 64%
CMYK
67, 43, 0, 4
Luminance
0.2699

Every format

HEX#508cf4
RGBrgb(80, 140, 244)
HSLhsl(218, 88%, 64%)
CMYKcmyk(67%, 43%, 0%, 4%)
LABlab(59.0 13.5 -57.9)
LCHlch(59.0 59.5 283.1)
OKLCHoklch(0.650 0.168 260.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508cf4 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#508cf4 on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green54.9%
Blue95.7%

CMYK percentages

Cyan67.2%
Magenta42.6%
Yellow0.0%
Key (black)4.3%

Color previews

#508cf4 text on a black background

contrast 6.40:1

Card sample

#508cf4 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #508cf4;
Background color
Panel with #508cf4 background
background-color: #508cf4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #508cf4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 140, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 140, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508cf4;
background: linear-gradient(135deg, #508cf4, #8150F4);

Monochromatic scale

Palettes built from #508cf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508cf4 in the Color Lab