Skip to content

#2f89ce

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

RGB
47, 137, 206
HSL
206°, 63%, 50%
CMYK
77, 34, 0, 19
Luminance
0.2295

Every format

HEX#2f89ce
RGBrgb(47, 137, 206)
HSLhsl(206, 63%, 50%)
CMYKcmyk(77%, 34%, 0%, 19%)
LABlab(55.0 -2.6 -43.0)
LCHlch(55.0 43.1 266.5)
OKLCHoklch(0.610 0.134 246.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f89ce on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#2f89ce on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green53.7%
Blue80.8%

CMYK percentages

Cyan77.2%
Magenta33.5%
Yellow0.0%
Key (black)19.2%

Color previews

#2f89ce text on a black background

contrast 5.59:1

Card sample

#2f89ce text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f89ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f89ce in the Color Lab