Skip to content

#2f97ce

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

RGB
47, 151, 206
HSL
201°, 63%, 50%
CMYK
77, 27, 0, 19
Luminance
0.2719

Every format

HEX#2f97ce
RGBrgb(47, 151, 206)
HSLhsl(201, 63%, 50%)
CMYKcmyk(77%, 27%, 0%, 19%)
LABlab(59.1 -10.7 -36.5)
LCHlch(59.1 38.1 253.7)
OKLCHoklch(0.643 0.123 236.9)

Copy-ready code

/* CSS */
color: #2f97ce;
background-color: #2f97ce;
/* Tailwind (arbitrary) */
class="text-[#2f97ce] bg-[#2f97ce]"
/* SCSS */
$brand: #2f97ce;
/* SwiftUI */
Color(red: 0.184, green: 0.592, blue: 0.808)
/* Android */
Color.parseColor("#2f97ce")

Accessibility — WCAG contrast

Aa
#2f97ce on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#2f97ce on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green59.2%
Blue80.8%

CMYK percentages

Cyan77.2%
Magenta26.7%
Yellow0.0%
Key (black)19.2%

Color previews

#2f97ce text on a black background

contrast 6.44:1

Card sample

#2f97ce text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f97ce;
Background color
Panel with #2f97ce background
background-color: #2f97ce;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 151, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 151, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f97ce;
background: linear-gradient(135deg, #2f97ce, #312FCE);

Monochromatic scale

Palettes built from #2f97ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f97ce in the Color Lab