Skip to content

#5facf2

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

RGB
95, 172, 242
HSL
209°, 85%, 66%
CMYK
61, 29, 0, 5
Luminance
0.3835

Every format

HEX#5facf2
RGBrgb(95, 172, 242)
HSLhsl(209, 85%, 66%)
CMYKcmyk(61%, 29%, 0%, 5%)
LABlab(68.3 -3.2 -42.1)
LCHlch(68.3 42.2 265.7)
OKLCHoklch(0.724 0.128 247.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5facf2 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#5facf2 on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green67.5%
Blue94.9%

CMYK percentages

Cyan60.7%
Magenta28.9%
Yellow0.0%
Key (black)5.1%

Color previews

#5facf2 text on a black background

contrast 8.67:1

Card sample

#5facf2 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5facf2;
Background color
Panel with #5facf2 background
background-color: #5facf2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5facf2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 172, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 172, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5facf2;
background: linear-gradient(135deg, #5facf2, #745FF2);

Monochromatic scale

Palettes built from #5facf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5facf2 in the Color Lab