Skip to content

#507fd1

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

RGB
80, 127, 209
HSL
218°, 58%, 57%
CMYK
62, 39, 0, 18
Luminance
0.2149

Every format

HEX#507fd1
RGBrgb(80, 127, 209)
HSLhsl(218, 58%, 57%)
CMYKcmyk(62%, 39%, 0%, 18%)
LABlab(53.5 9.4 -47.1)
LCHlch(53.5 48.0 281.3)
OKLCHoklch(0.602 0.136 260.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#507fd1 on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#507fd1 on black: 5.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green49.8%
Blue82.0%

CMYK percentages

Cyan61.7%
Magenta39.2%
Yellow0.0%
Key (black)18.0%

Color previews

#507fd1 text on a black background

contrast 5.30:1

Card sample

#507fd1 text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #507fd1;
Background color
Panel with #507fd1 background
background-color: #507fd1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #507fd1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 127, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 127, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #507fd1;
background: linear-gradient(135deg, #507fd1, #7750D1);

Monochromatic scale

Palettes built from #507fd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #507fd1 in the Color Lab