Skip to content

#7aa2fd

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

RGB
122, 162, 253
HSL
222°, 97%, 74%
CMYK
52, 36, 0, 1
Luminance
0.3707

Every format

HEX#7aa2fd
RGBrgb(122, 162, 253)
HSLhsl(222, 97%, 74%)
CMYKcmyk(52%, 36%, 0%, 1%)
LABlab(67.3 11.3 -49.5)
LCHlch(67.3 50.7 282.9)
OKLCHoklch(0.722 0.140 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7aa2fd on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#7aa2fd on black: 8.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.8%
Green63.5%
Blue99.2%

CMYK percentages

Cyan51.8%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#7aa2fd text on a black background

contrast 8.41:1

Card sample

#7aa2fd text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7aa2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7aa2fd in the Color Lab