Skip to content

#2d97cf

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

RGB
45, 151, 207
HSL
201°, 64%, 49%
CMYK
78, 27, 0, 19
Luminance
0.2720

Every format

HEX#2d97cf
RGBrgb(45, 151, 207)
HSLhsl(201, 64%, 49%)
CMYKcmyk(78%, 27%, 0%, 19%)
LABlab(59.1 -10.5 -37.1)
LCHlch(59.1 38.6 254.2)
OKLCHoklch(0.643 0.125 237.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green59.2%
Blue81.2%

CMYK percentages

Cyan78.3%
Magenta27.1%
Yellow0.0%
Key (black)18.8%

Color previews

#2d97cf text on a black background

contrast 6.44:1

Card sample

#2d97cf text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 151, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 151, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d97cf;
background: linear-gradient(135deg, #2d97cf, #2F2DCF);

Monochromatic scale

Palettes built from #2d97cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d97cf in the Color Lab