Skip to content

#5facfd

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

RGB
95, 172, 253
HSL
211°, 98%, 68%
CMYK
63, 32, 0, 1
Luminance
0.3903

Every format

HEX#5facfd
RGBrgb(95, 172, 253)
HSLhsl(211, 98%, 68%)
CMYKcmyk(63%, 32%, 0%, 1%)
LABlab(68.8 0.3 -47.3)
LCHlch(68.8 47.3 270.4)
OKLCHoklch(0.730 0.141 251.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5facfd on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#5facfd on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green67.5%
Blue99.2%

CMYK percentages

Cyan62.5%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#5facfd text on a black background

contrast 8.81:1

Card sample

#5facfd text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5facfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5facfd in the Color Lab