Skip to content

#8af5dd

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

RGB
138, 245, 221
HSL
167°, 84%, 75%
CMYK
44, 0, 10, 4
Luminance
0.7593

Every format

HEX#8af5dd
RGBrgb(138, 245, 221)
HSLhsl(167, 84%, 75%)
CMYKcmyk(44%, 0%, 10%, 4%)
LABlab(89.8 -36.5 1.9)
LCHlch(89.8 36.6 177.0)
OKLCHoklch(0.899 0.106 177.5)

Copy-ready code

/* CSS */
color: #8af5dd;
background-color: #8af5dd;
/* Tailwind (arbitrary) */
class="text-[#8af5dd] bg-[#8af5dd]"
/* SCSS */
$brand: #8af5dd;
/* SwiftUI */
Color(red: 0.541, green: 0.961, blue: 0.867)
/* Android */
Color.parseColor("#8af5dd")

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green96.1%
Blue86.7%

CMYK percentages

Cyan43.7%
Magenta0.0%
Yellow9.8%
Key (black)3.9%

Color previews

#8af5dd text on a black background

contrast 16.19:1

Card sample

#8af5dd text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8af5dd;
Background color
Panel with #8af5dd background
background-color: #8af5dd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 245, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 245, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af5dd;
background: linear-gradient(135deg, #8af5dd, #8AC6F5);

Monochromatic scale

Palettes built from #8af5dd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af5dd in the Color Lab