Skip to content

#51f8ff

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

RGB
81, 248, 255
HSL
182°, 100%, 66%
CMYK
68, 3, 0, 0
Luminance
0.7610

Every format

HEX#51f8ff
RGBrgb(81, 248, 255)
HSLhsl(182, 100%, 66%)
CMYKcmyk(68%, 3%, 0%, 0%)
LABlab(89.9 -39.8 -15.9)
LCHlch(89.9 42.9 201.7)
OKLCHoklch(0.898 0.134 199.1)

Copy-ready code

/* CSS */
color: #51f8ff;
background-color: #51f8ff;
/* Tailwind (arbitrary) */
class="text-[#51f8ff] bg-[#51f8ff]"
/* SCSS */
$brand: #51f8ff;
/* SwiftUI */
Color(red: 0.318, green: 0.973, blue: 1.000)
/* Android */
Color.parseColor("#51f8ff")

Accessibility — WCAG contrast

Aa
#51f8ff on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#51f8ff on black: 16.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.8%
Green97.3%
Blue100.0%

CMYK percentages

Cyan68.2%
Magenta2.7%
Yellow0.0%
Key (black)0.0%

Color previews

#51f8ff text on a black background

contrast 16.22:1

Card sample

#51f8ff text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #51f8ff;
Background color
Panel with #51f8ff background
background-color: #51f8ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(81, 248, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 248, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51f8ff;
background: linear-gradient(135deg, #51f8ff, #5184FF);

Monochromatic scale

Palettes built from #51f8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #51f8ff in the Color Lab