Skip to content

#5fafff

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

RGB
95, 175, 255
HSL
210°, 100%, 69%
CMYK
63, 31, 0, 0
Luminance
0.4031

Every format

HEX#5fafff
RGBrgb(95, 175, 255)
HSLhsl(210, 100%, 69%)
CMYKcmyk(63%, 31%, 0%, 0%)
LABlab(69.7 -0.7 -46.9)
LCHlch(69.7 46.9 269.1)
OKLCHoklch(0.738 0.141 250.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fafff on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#5fafff on black: 9.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green68.6%
Blue100.0%

CMYK percentages

Cyan62.7%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#5fafff text on a black background

contrast 9.06:1

Card sample

#5fafff text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5fafff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5fafff in the Color Lab