Skip to content

#2f9ccb

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

RGB
47, 156, 203
HSL
198°, 62%, 49%
CMYK
77, 23, 0, 20
Luminance
0.2869

Every format

HEX#2f9ccb
RGBrgb(47, 156, 203)
HSLhsl(198, 62%, 49%)
CMYKcmyk(77%, 23%, 0%, 20%)
LABlab(60.5 -14.5 -32.8)
LCHlch(60.5 35.8 246.2)
OKLCHoklch(0.653 0.118 231.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9ccb on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#2f9ccb on black: 6.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green61.2%
Blue79.6%

CMYK percentages

Cyan76.8%
Magenta23.2%
Yellow0.0%
Key (black)20.4%

Color previews

#2f9ccb text on a black background

contrast 6.74:1

Card sample

#2f9ccb text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9ccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f9ccb in the Color Lab