Skip to content

#7c9dfd

a light, electric blue · cool · closest name: dodgerblue

RGB
124, 157, 253
HSL
225°, 97%, 74%
CMYK
51, 38, 0, 1
Luminance
0.3549

Every format

HEX#7c9dfd
RGBrgb(124, 157, 253)
HSLhsl(225, 97%, 74%)
CMYKcmyk(51%, 38%, 0%, 1%)
LABlab(66.1 14.7 -51.3)
LCHlch(66.1 53.4 285.9)
OKLCHoklch(0.713 0.145 268.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c9dfd on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#7c9dfd on black: 8.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green61.6%
Blue99.2%

CMYK percentages

Cyan51.0%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#7c9dfd text on a black background

contrast 8.10:1

Card sample

#7c9dfd text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7c9dfd in the Color Lab