Skip to content

#508af4

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

RGB
80, 138, 244
HSL
219°, 88%, 64%
CMYK
67, 43, 0, 4
Luminance
0.2641

Every format

HEX#508af4
RGBrgb(80, 138, 244)
HSLhsl(219, 88%, 64%)
CMYKcmyk(67%, 43%, 0%, 4%)
LABlab(58.4 14.7 -58.8)
LCHlch(58.4 60.6 284.1)
OKLCHoklch(0.646 0.170 261.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508af4 on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#508af4 on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green54.1%
Blue95.7%

CMYK percentages

Cyan67.2%
Magenta43.4%
Yellow0.0%
Key (black)4.3%

Color previews

#508af4 text on a black background

contrast 6.28:1

Card sample

#508af4 text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #508af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508af4 in the Color Lab