Skip to content

#4faff2

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

RGB
79, 175, 242
HSL
205°, 86%, 63%
CMYK
67, 28, 0, 5
Luminance
0.3873

Every format

HEX#4faff2
RGBrgb(79, 175, 242)
HSLhsl(205, 86%, 63%)
CMYKcmyk(67%, 28%, 0%, 5%)
LABlab(68.5 -7.5 -41.7)
LCHlch(68.5 42.3 259.8)
OKLCHoklch(0.725 0.133 242.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4faff2 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#4faff2 on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green68.6%
Blue94.9%

CMYK percentages

Cyan67.4%
Magenta27.7%
Yellow0.0%
Key (black)5.1%

Color previews

#4faff2 text on a black background

contrast 8.75:1

Card sample

#4faff2 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 175, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 175, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4faff2;
background: linear-gradient(135deg, #4faff2, #5C4FF2);

Monochromatic scale

Palettes built from #4faff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4faff2 in the Color Lab