Skip to content

#2f8dad

a dark, vivid cyan · cool · closest name: steelblue

RGB
47, 141, 173
HSL
195°, 57%, 43%
CMYK
73, 19, 0, 32
Luminance
0.2267

Every format

HEX#2f8dad
RGBrgb(47, 141, 173)
HSLhsl(195, 57%, 43%)
CMYKcmyk(73%, 19%, 0%, 32%)
LABlab(54.7 -16.5 -24.7)
LCHlch(54.7 29.7 236.3)
OKLCHoklch(0.603 0.098 224.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f8dad on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#2f8dad on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green55.3%
Blue67.8%

CMYK percentages

Cyan72.8%
Magenta18.5%
Yellow0.0%
Key (black)32.2%

Color previews

#2f8dad text on a black background

contrast 5.53:1

Card sample

#2f8dad text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 141, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 141, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f8dad;
background: linear-gradient(135deg, #2f8dad, #2F39AD);

Monochromatic scale

Palettes built from #2f8dad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8dad in the Color Lab