Skip to content

#2fbafc

a balanced, electric cyan · cool · closest name: skyblue

RGB
47, 186, 252
HSL
199°, 97%, 59%
CMYK
81, 26, 0, 1
Luminance
0.4275

Every format

HEX#2fbafc
RGBrgb(47, 186, 252)
HSLhsl(199, 97%, 59%)
CMYKcmyk(81%, 26%, 0%, 1%)
LABlab(71.4 -13.9 -42.7)
LCHlch(71.4 44.9 252.0)
OKLCHoklch(0.747 0.147 235.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fbafc on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#2fbafc on black: 9.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green72.9%
Blue98.8%

CMYK percentages

Cyan81.3%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#2fbafc text on a black background

contrast 9.55:1

Card sample

#2fbafc text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fbafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fbafc in the Color Lab