Skip to content

#508eef

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

RGB
80, 142, 239
HSL
217°, 83%, 63%
CMYK
67, 41, 0, 6
Luminance
0.2728

Every format

HEX#508eef
RGBrgb(80, 142, 239)
HSLhsl(217, 83%, 63%)
CMYKcmyk(67%, 41%, 0%, 6%)
LABlab(59.2 10.6 -54.7)
LCHlch(59.2 55.8 281.0)
OKLCHoklch(0.652 0.159 259.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508eef on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#508eef on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green55.7%
Blue93.7%

CMYK percentages

Cyan66.5%
Magenta40.6%
Yellow0.0%
Key (black)6.3%

Color previews

#508eef text on a black background

contrast 6.46:1

Card sample

#508eef text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(80, 142, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 142, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508eef;
background: linear-gradient(135deg, #508eef, #7C50EF);

Monochromatic scale

Palettes built from #508eef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508eef in the Color Lab