Skip to content

#4facf5

a balanced, electric blue · cool · closest name: steelblue

RGB
79, 172, 245
HSL
206°, 89%, 64%
CMYK
68, 30, 0, 4
Luminance
0.3776

Every format

HEX#4facf5
RGBrgb(79, 172, 245)
HSLhsl(206, 89%, 64%)
CMYKcmyk(68%, 30%, 0%, 4%)
LABlab(67.8 -4.9 -44.4)
LCHlch(67.8 44.7 263.7)
OKLCHoklch(0.720 0.138 245.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4facf5 on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#4facf5 on black: 8.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green67.5%
Blue96.1%

CMYK percentages

Cyan67.8%
Magenta29.8%
Yellow0.0%
Key (black)3.9%

Color previews

#4facf5 text on a black background

contrast 8.55:1

Card sample

#4facf5 text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 172, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 172, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4facf5;
background: linear-gradient(135deg, #4facf5, #614FF5);

Monochromatic scale

Palettes built from #4facf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4facf5 in the Color Lab