Skip to content

#508ce2

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

RGB
80, 140, 226
HSL
215°, 72%, 60%
CMYK
65, 38, 0, 11
Luminance
0.2595

Every format

HEX#508ce2
RGBrgb(80, 140, 226)
HSLhsl(215, 72%, 60%)
CMYKcmyk(65%, 38%, 0%, 11%)
LABlab(58.0 7.3 -49.5)
LCHlch(58.0 50.0 278.4)
OKLCHoklch(0.640 0.144 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508ce2 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#508ce2 on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green54.9%
Blue88.6%

CMYK percentages

Cyan64.6%
Magenta38.1%
Yellow0.0%
Key (black)11.4%

Color previews

#508ce2 text on a black background

contrast 6.19:1

Card sample

#508ce2 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #508ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508ce2 in the Color Lab