Skip to content

#8af2e2

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

RGB
138, 242, 226
HSL
171°, 80%, 75%
CMYK
43, 0, 7, 5
Luminance
0.7440

Every format

HEX#8af2e2
RGBrgb(138, 242, 226)
HSLhsl(171, 80%, 75%)
CMYKcmyk(43%, 0%, 7%, 5%)
LABlab(89.1 -34.0 -1.7)
LCHlch(89.1 34.0 182.9)
OKLCHoklch(0.894 0.100 183.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af2e2 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#8af2e2 on black: 15.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green94.9%
Blue88.6%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow6.6%
Key (black)5.1%

Color previews

#8af2e2 text on a black background

contrast 15.88:1

Card sample

#8af2e2 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af2e2 in the Color Lab