Skip to content

#2f8ace

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

RGB
47, 138, 206
HSL
206°, 63%, 50%
CMYK
77, 33, 0, 19
Luminance
0.2324

Every format

HEX#2f8ace
RGBrgb(47, 138, 206)
HSLhsl(206, 63%, 50%)
CMYKcmyk(77%, 33%, 0%, 19%)
LABlab(55.3 -3.2 -42.6)
LCHlch(55.3 42.7 265.7)
OKLCHoklch(0.612 0.133 245.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f8ace on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#2f8ace on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green54.1%
Blue80.8%

CMYK percentages

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

Color previews

#2f8ace text on a black background

contrast 5.65:1

Card sample

#2f8ace text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f8ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8ace in the Color Lab