Skip to content

#4fa2fd

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

RGB
79, 162, 253
HSL
211°, 98%, 65%
CMYK
69, 36, 0, 1
Luminance
0.3459

Every format

HEX#4fa2fd
RGBrgb(79, 162, 253)
HSLhsl(211, 98%, 65%)
CMYKcmyk(69%, 36%, 0%, 1%)
LABlab(65.4 3.5 -52.6)
LCHlch(65.4 52.7 273.8)
OKLCHoklch(0.702 0.157 252.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fa2fd on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#4fa2fd on black: 7.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green63.5%
Blue99.2%

CMYK percentages

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

Color previews

#4fa2fd text on a black background

contrast 7.92:1

Card sample

#4fa2fd text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4fa2fd;
Background color
Panel with #4fa2fd background
background-color: #4fa2fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4fa2fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 162, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 162, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fa2fd;
background: linear-gradient(135deg, #4fa2fd, #704FFD);

Monochromatic scale

Palettes built from #4fa2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fa2fd in the Color Lab