Skip to content

#51afba

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

RGB
81, 175, 186
HSL
186°, 43%, 52%
CMYK
57, 6, 0, 27
Luminance
0.3595

Every format

HEX#51afba
RGBrgb(81, 175, 186)
HSLhsl(186, 43%, 52%)
CMYKcmyk(57%, 6%, 0%, 27%)
LABlab(66.5 -24.5 -14.1)
LCHlch(66.5 28.2 209.8)
OKLCHoklch(0.702 0.090 205.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#51afba on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#51afba on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.8%
Green68.6%
Blue72.9%

CMYK percentages

Cyan56.5%
Magenta5.9%
Yellow0.0%
Key (black)27.1%

Color previews

#51afba text on a black background

contrast 8.19:1

Card sample

#51afba text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(81, 175, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 175, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51afba;
background: linear-gradient(135deg, #51afba, #5169BA);

Monochromatic scale

Palettes built from #51afba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #51afba in the Color Lab