Skip to content

#5fa9f2

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

RGB
95, 169, 242
HSL
210°, 85%, 66%
CMYK
61, 30, 0, 5
Luminance
0.3722

Every format

HEX#5fa9f2
RGBrgb(95, 169, 242)
HSLhsl(210, 85%, 66%)
CMYKcmyk(61%, 30%, 0%, 5%)
LABlab(67.4 -1.5 -43.4)
LCHlch(67.4 43.4 268.0)
OKLCHoklch(0.718 0.130 249.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fa9f2 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#5fa9f2 on black: 8.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green66.3%
Blue94.9%

CMYK percentages

Cyan60.7%
Magenta30.2%
Yellow0.0%
Key (black)5.1%

Color previews

#5fa9f2 text on a black background

contrast 8.44:1

Card sample

#5fa9f2 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5fa9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5fa9f2 in the Color Lab