Skip to content

#5b9df2

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

RGB
91, 157, 242
HSL
214°, 85%, 65%
CMYK
62, 35, 0, 5
Luminance
0.3275

Every format

HEX#5b9df2
RGBrgb(91, 157, 242)
HSLhsl(214, 85%, 65%)
CMYKcmyk(62%, 35%, 0%, 5%)
LABlab(64.0 4.6 -48.9)
LCHlch(64.0 49.1 275.4)
OKLCHoklch(0.690 0.143 255.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5b9df2 on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#5b9df2 on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red35.7%
Green61.6%
Blue94.9%

CMYK percentages

Cyan62.4%
Magenta35.1%
Yellow0.0%
Key (black)5.1%

Color previews

#5b9df2 text on a black background

contrast 7.55:1

Card sample

#5b9df2 text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(91, 157, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 157, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b9df2;
background: linear-gradient(135deg, #5b9df2, #7E5BF2);

Monochromatic scale

Palettes built from #5b9df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5b9df2 in the Color Lab