Skip to content

#7e92fd

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

RGB
126, 146, 253
HSL
231°, 97%, 74%
CMYK
50, 42, 0, 1
Luminance
0.3209

Every format

HEX#7e92fd
RGBrgb(126, 146, 253)
HSLhsl(231, 97%, 74%)
CMYKcmyk(50%, 42%, 0%, 1%)
LABlab(63.4 21.5 -55.6)
LCHlch(63.4 59.6 291.1)
OKLCHoklch(0.693 0.158 273.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7e92fd on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#7e92fd on black: 7.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.4%
Green57.3%
Blue99.2%

CMYK percentages

Cyan50.2%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#7e92fd text on a black background

contrast 7.42:1

Card sample

#7e92fd text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7e92fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7e92fd in the Color Lab