Skip to content

#5facfc

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

RGB
95, 172, 252
HSL
211°, 96%, 68%
CMYK
62, 32, 0, 1
Luminance
0.3897

Every format

HEX#5facfc
RGBrgb(95, 172, 252)
HSLhsl(211, 96%, 68%)
CMYKcmyk(62%, 32%, 0%, 1%)
LABlab(68.7 0.0 -46.8)
LCHlch(68.7 46.8 270.0)
OKLCHoklch(0.729 0.140 251.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5facfc on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#5facfc on black: 8.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green67.5%
Blue98.8%

CMYK percentages

Cyan62.3%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#5facfc text on a black background

contrast 8.79:1

Card sample

#5facfc text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5facfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5facfc in the Color Lab