Skip to content

#8af7ff

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

RGB
138, 247, 255
HSL
184°, 100%, 77%
CMYK
46, 3, 0, 0
Luminance
0.7914

Every format

HEX#8af7ff
RGBrgb(138, 247, 255)
HSLhsl(184, 100%, 77%)
CMYKcmyk(46%, 3%, 0%, 0%)
LABlab(91.3 -29.4 -13.6)
LCHlch(91.3 32.4 204.9)
OKLCHoklch(0.914 0.101 201.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af7ff on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#8af7ff on black: 16.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green96.9%
Blue100.0%

CMYK percentages

Cyan45.9%
Magenta3.1%
Yellow0.0%
Key (black)0.0%

Color previews

#8af7ff text on a black background

contrast 16.83:1

Card sample

#8af7ff text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af7ff in the Color Lab