Skip to content

#7980df

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

RGB
121, 128, 223
HSL
236°, 61%, 68%
CMYK
46, 43, 0, 13
Luminance
0.2483

Every format

HEX#7980df
RGBrgb(121, 128, 223)
HSLhsl(236, 61%, 68%)
CMYKcmyk(46%, 43%, 0%, 13%)
LABlab(56.9 22.0 -49.4)
LCHlch(56.9 54.1 294.0)
OKLCHoklch(0.637 0.141 278.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7980df on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#7980df on black: 5.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green50.2%
Blue87.5%

CMYK percentages

Cyan45.7%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#7980df text on a black background

contrast 5.97:1

Card sample

#7980df text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7980df;
Background color
Panel with #7980df background
background-color: #7980df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7980df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(121, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7980df;
background: linear-gradient(135deg, #7980df, #B679DF);

Monochromatic scale

Palettes built from #7980df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7980df in the Color Lab