Skip to content

#5fa2df

a balanced, vivid blue · cool · closest name: steelblue

RGB
95, 162, 223
HSL
209°, 67%, 62%
CMYK
57, 27, 0, 13
Luminance
0.3360

Every format

HEX#5fa2df
RGBrgb(95, 162, 223)
HSLhsl(209, 67%, 62%)
CMYKcmyk(57%, 27%, 0%, 13%)
LABlab(64.6 -3.6 -37.3)
LCHlch(64.6 37.5 264.5)
OKLCHoklch(0.693 0.113 247.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fa2df on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#5fa2df on black: 7.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green63.5%
Blue87.5%

CMYK percentages

Cyan57.4%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#5fa2df text on a black background

contrast 7.72:1

Card sample

#5fa2df text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 162, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 162, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fa2df;
background: linear-gradient(135deg, #5fa2df, #725FDF);

Monochromatic scale

Palettes built from #5fa2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5fa2df in the Color Lab