Skip to content

#2fb7fd

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

RGB
47, 183, 253
HSL
200°, 98%, 59%
CMYK
81, 28, 0, 1
Luminance
0.4156

Every format

HEX#2fb7fd
RGBrgb(47, 183, 253)
HSLhsl(200, 98%, 59%)
CMYKcmyk(81%, 28%, 0%, 1%)
LABlab(70.6 -11.9 -44.5)
LCHlch(70.6 46.1 255.0)
OKLCHoklch(0.741 0.150 237.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fb7fd on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#2fb7fd on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green71.8%
Blue99.2%

CMYK percentages

Cyan81.4%
Magenta27.7%
Yellow0.0%
Key (black)0.8%

Color previews

#2fb7fd text on a black background

contrast 9.31:1

Card sample

#2fb7fd text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fb7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fb7fd in the Color Lab