Skip to content

#2f9ad2

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

RGB
47, 154, 210
HSL
201°, 64%, 50%
CMYK
78, 27, 0, 18
Luminance
0.2837

Every format

HEX#2f9ad2
RGBrgb(47, 154, 210)
HSLhsl(201, 64%, 50%)
CMYKcmyk(78%, 27%, 0%, 18%)
LABlab(60.2 -10.9 -37.1)
LCHlch(60.2 38.7 253.6)
OKLCHoklch(0.652 0.125 236.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9ad2 on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#2f9ad2 on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green60.4%
Blue82.4%

CMYK percentages

Cyan77.6%
Magenta26.7%
Yellow0.0%
Key (black)17.6%

Color previews

#2f9ad2 text on a black background

contrast 6.67:1

Card sample

#2f9ad2 text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9ad2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f9ad2 in the Color Lab