Skip to content

#508fd0

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

RGB
80, 143, 208
HSL
211°, 58%, 57%
CMYK
62, 31, 0, 18
Luminance
0.2590

Every format

HEX#508fd0
RGBrgb(80, 143, 208)
HSLhsl(211, 58%, 57%)
CMYKcmyk(62%, 31%, 0%, 18%)
LABlab(57.9 -0.5 -39.5)
LCHlch(57.9 39.5 269.3)
OKLCHoklch(0.636 0.118 250.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508fd0 on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#508fd0 on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green56.1%
Blue81.6%

CMYK percentages

Cyan61.5%
Magenta31.3%
Yellow0.0%
Key (black)18.4%

Color previews

#508fd0 text on a black background

contrast 6.18:1

Card sample

#508fd0 text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(80, 143, 208, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 143, 208, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508fd0;
background: linear-gradient(135deg, #508fd0, #6650D0);

Monochromatic scale

Palettes built from #508fd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508fd0 in the Color Lab