Skip to content

#2ffafb

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

RGB
47, 250, 251
HSL
180°, 96%, 58%
CMYK
81, 0, 0, 2
Luminance
0.7594

Every format

HEX#2ffafb
RGBrgb(47, 250, 251)
HSLhsl(180, 96%, 58%)
CMYKcmyk(81%, 0%, 0%, 2%)
LABlab(89.8 -45.2 -13.9)
LCHlch(89.8 47.3 197.1)
OKLCHoklch(0.895 0.146 195.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ffafb on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#2ffafb on black: 16.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green98.0%
Blue98.4%

CMYK percentages

Cyan81.3%
Magenta0.4%
Yellow0.0%
Key (black)1.6%

Color previews

#2ffafb text on a black background

contrast 16.19:1

Card sample

#2ffafb text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ffafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ffafb in the Color Lab