Skip to content

#7f9df9

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

RGB
127, 157, 249
HSL
225°, 91%, 74%
CMYK
49, 37, 0, 2
Luminance
0.3547

Every format

HEX#7f9df9
RGBrgb(127, 157, 249)
HSLhsl(225, 91%, 74%)
CMYKcmyk(49%, 37%, 0%, 2%)
LABlab(66.1 14.1 -49.2)
LCHlch(66.1 51.2 286.0)
OKLCHoklch(0.713 0.139 269.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red49.8%
Green61.6%
Blue97.6%

CMYK percentages

Cyan49.0%
Magenta36.9%
Yellow0.0%
Key (black)2.4%

Color previews

#7f9df9 text on a black background

contrast 8.09:1

Card sample

#7f9df9 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7f9df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7f9df9 in the Color Lab