Skip to content

#4f80af

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

RGB
79, 128, 175
HSL
209°, 38%, 50%
CMYK
55, 27, 0, 31
Luminance
0.2020

Every format

HEX#4f80af
RGBrgb(79, 128, 175)
HSLhsl(209, 38%, 50%)
CMYKcmyk(55%, 27%, 0%, 31%)
LABlab(52.1 -2.6 -29.9)
LCHlch(52.1 30.0 264.9)
OKLCHoklch(0.585 0.090 248.6)

Copy-ready code

/* CSS */
color: #4f80af;
background-color: #4f80af;
/* Tailwind (arbitrary) */
class="text-[#4f80af] bg-[#4f80af]"
/* SCSS */
$brand: #4f80af;
/* SwiftUI */
Color(red: 0.310, green: 0.502, blue: 0.686)
/* Android */
Color.parseColor("#4f80af")

Accessibility — WCAG contrast

Aa
#4f80af on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#4f80af on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green50.2%
Blue68.6%

CMYK percentages

Cyan54.9%
Magenta26.9%
Yellow0.0%
Key (black)31.4%

Color previews

#4f80af text on a black background

contrast 5.04:1

Card sample

#4f80af text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f80af;
Background color
Panel with #4f80af background
background-color: #4f80af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f80af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 128, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 128, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f80af;
background: linear-gradient(135deg, #4f80af, #5E4FAF);

Monochromatic scale

Palettes built from #4f80af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f80af in the Color Lab