Skip to content

#7c80df

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

RGB
124, 128, 223
HSL
238°, 61%, 68%
CMYK
44, 43, 0, 13
Luminance
0.2505

Every format

HEX#7c80df
RGBrgb(124, 128, 223)
HSLhsl(238, 61%, 68%)
CMYKcmyk(44%, 43%, 0%, 13%)
LABlab(57.1 22.8 -49.0)
LCHlch(57.1 54.1 294.9)
OKLCHoklch(0.639 0.141 279.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c80df on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#7c80df on black: 6.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green50.2%
Blue87.5%

CMYK percentages

Cyan44.4%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#7c80df text on a black background

contrast 6.01:1

Card sample

#7c80df text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7c80df in the Color Lab