Skip to content

#508bbc

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

RGB
80, 139, 188
HSL
207°, 45%, 53%
CMYK
57, 26, 0, 26
Luminance
0.2380

Every format

HEX#508bbc
RGBrgb(80, 139, 188)
HSLhsl(207, 45%, 53%)
CMYKcmyk(57%, 26%, 0%, 26%)
LABlab(55.9 -4.7 -31.4)
LCHlch(55.9 31.7 261.6)
OKLCHoklch(0.617 0.097 245.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508bbc on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#508bbc on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green54.5%
Blue73.7%

CMYK percentages

Cyan57.4%
Magenta26.1%
Yellow0.0%
Key (black)26.3%

Color previews

#508bbc text on a black background

contrast 5.76:1

Card sample

#508bbc text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(80, 139, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 139, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508bbc;
background: linear-gradient(135deg, #508bbc, #5D50BC);

Monochromatic scale

Palettes built from #508bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508bbc in the Color Lab