Skip to content

#8af5ff

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

RGB
138, 245, 255
HSL
185°, 100%, 77%
CMYK
46, 4, 0, 0
Luminance
0.7793

Every format

HEX#8af5ff
RGBrgb(138, 245, 255)
HSLhsl(185, 100%, 77%)
CMYKcmyk(46%, 4%, 0%, 0%)
LABlab(90.7 -28.4 -14.4)
LCHlch(90.7 31.9 206.9)
OKLCHoklch(0.909 0.100 203.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#8af5ff text on a black background

contrast 16.59:1

Card sample

#8af5ff text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af5ff in the Color Lab