Skip to content

#5faff2

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

RGB
95, 175, 242
HSL
207°, 85%, 66%
CMYK
61, 28, 0, 5
Luminance
0.3950

Every format

HEX#5faff2
RGBrgb(95, 175, 242)
HSLhsl(207, 85%, 66%)
CMYKcmyk(61%, 28%, 0%, 5%)
LABlab(69.1 -4.9 -40.8)
LCHlch(69.1 41.0 263.2)
OKLCHoklch(0.731 0.126 245.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5faff2 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#5faff2 on black: 8.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green68.6%
Blue94.9%

CMYK percentages

Cyan60.7%
Magenta27.7%
Yellow0.0%
Key (black)5.1%

Color previews

#5faff2 text on a black background

contrast 8.90:1

Card sample

#5faff2 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5faff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5faff2 in the Color Lab