Skip to content

#2f99cf

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

RGB
47, 153, 207
HSL
200°, 63%, 50%
CMYK
77, 26, 0, 19
Luminance
0.2789

Every format

HEX#2f99cf
RGBrgb(47, 153, 207)
HSLhsl(200, 63%, 50%)
CMYKcmyk(77%, 26%, 0%, 19%)
LABlab(59.8 -11.4 -36.1)
LCHlch(59.8 37.9 252.4)
OKLCHoklch(0.648 0.123 236.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f99cf on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#2f99cf on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green60.0%
Blue81.2%

CMYK percentages

Cyan77.3%
Magenta26.1%
Yellow0.0%
Key (black)18.8%

Color previews

#2f99cf text on a black background

contrast 6.58:1

Card sample

#2f99cf text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 153, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 153, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f99cf;
background: linear-gradient(135deg, #2f99cf, #302FCF);

Monochromatic scale

Palettes built from #2f99cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f99cf in the Color Lab