Skip to content

#8af4ff

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

RGB
138, 244, 255
HSL
186°, 100%, 77%
CMYK
46, 4, 0, 0
Luminance
0.7732

Every format

HEX#8af4ff
RGBrgb(138, 244, 255)
HSLhsl(186, 100%, 77%)
CMYKcmyk(46%, 4%, 0%, 0%)
LABlab(90.5 -27.9 -14.8)
LCHlch(90.5 31.6 208.0)
OKLCHoklch(0.907 0.100 204.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green95.7%
Blue100.0%

CMYK percentages

Cyan45.9%
Magenta4.3%
Yellow0.0%
Key (black)0.0%

Color previews

#8af4ff text on a black background

contrast 16.46:1

Card sample

#8af4ff text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af4ff in the Color Lab