Skip to content

#7f80cf

a light, vivid blue · warm · closest name: dodgerblue

RGB
127, 128, 207
HSL
239°, 46%, 66%
CMYK
39, 38, 0, 19
Luminance
0.2446

Every format

HEX#7f80cf
RGBrgb(127, 128, 207)
HSLhsl(239, 46%, 66%)
CMYKcmyk(39%, 38%, 0%, 19%)
LABlab(56.5 18.9 -41.0)
LCHlch(56.5 45.1 294.8)
OKLCHoklch(0.633 0.118 281.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7f80cf on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#7f80cf on black: 5.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.8%
Green50.2%
Blue81.2%

CMYK percentages

Cyan38.6%
Magenta38.2%
Yellow0.0%
Key (black)18.8%

Color previews

#7f80cf text on a black background

contrast 5.89:1

Card sample

#7f80cf text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7f80cf;
Background color
Panel with #7f80cf background
background-color: #7f80cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7f80cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(127, 128, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 128, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f80cf;
background: linear-gradient(135deg, #7f80cf, #B37FCF);

Monochromatic scale

Palettes built from #7f80cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7f80cf in the Color Lab