Skip to content

#8af5f1

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

RGB
138, 245, 241
HSL
178°, 84%, 75%
CMYK
44, 0, 2, 4
Luminance
0.7706

Every format

HEX#8af5f1
RGBrgb(138, 245, 241)
HSLhsl(178, 84%, 75%)
CMYKcmyk(44%, 0%, 2%, 4%)
LABlab(90.3 -31.9 -7.7)
LCHlch(90.3 32.8 193.6)
OKLCHoklch(0.905 0.100 192.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af5f1 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#8af5f1 on black: 16.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green96.1%
Blue94.5%

CMYK percentages

Cyan43.7%
Magenta0.0%
Yellow1.6%
Key (black)3.9%

Color previews

#8af5f1 text on a black background

contrast 16.41:1

Card sample

#8af5f1 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af5f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af5f1 in the Color Lab