Skip to content

#8af5f9

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

RGB
138, 245, 249
HSL
182°, 90%, 76%
CMYK
45, 2, 0, 2
Luminance
0.7755

Every format

HEX#8af5f9
RGBrgb(138, 245, 249)
HSLhsl(182, 90%, 76%)
CMYKcmyk(45%, 2%, 0%, 2%)
LABlab(90.6 -29.9 -11.6)
LCHlch(90.6 32.1 201.1)
OKLCHoklch(0.907 0.099 198.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af5f9 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#8af5f9 on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green96.1%
Blue97.6%

CMYK percentages

Cyan44.6%
Magenta1.6%
Yellow0.0%
Key (black)2.4%

Color previews

#8af5f9 text on a black background

contrast 16.51:1

Card sample

#8af5f9 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af5f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af5f9 in the Color Lab