Skip to content

#2fa1df

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

RGB
47, 161, 223
HSL
201°, 73%, 53%
CMYK
79, 28, 0, 13
Luminance
0.3142

Every format

HEX#2fa1df
RGBrgb(47, 161, 223)
HSLhsl(201, 73%, 53%)
CMYKcmyk(79%, 28%, 0%, 13%)
LABlab(62.9 -10.3 -40.2)
LCHlch(62.9 41.5 255.6)
OKLCHoklch(0.675 0.134 238.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa1df on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#2fa1df on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green63.1%
Blue87.5%

CMYK percentages

Cyan78.9%
Magenta27.8%
Yellow0.0%
Key (black)12.5%

Color previews

#2fa1df text on a black background

contrast 7.28:1

Card sample

#2fa1df text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 161, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 161, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fa1df;
background: linear-gradient(135deg, #2fa1df, #322FDF);

Monochromatic scale

Palettes built from #2fa1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa1df in the Color Lab