Skip to content

#5f9dff

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

RGB
95, 157, 255
HSL
217°, 100%, 69%
CMYK
63, 38, 0, 0
Luminance
0.3377

Every format

HEX#5f9dff
RGBrgb(95, 157, 255)
HSLhsl(217, 100%, 69%)
CMYKcmyk(63%, 38%, 0%, 0%)
LABlab(64.8 9.6 -54.7)
LCHlch(64.8 55.5 280.0)
OKLCHoklch(0.699 0.158 259.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5f9dff on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#5f9dff on black: 7.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green61.6%
Blue100.0%

CMYK percentages

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

Color previews

#5f9dff text on a black background

contrast 7.75:1

Card sample

#5f9dff text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5f9dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5f9dff in the Color Lab