Skip to content

#8af0ff

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

RGB
138, 240, 255
HSL
188°, 100%, 77%
CMYK
46, 6, 0, 0
Luminance
0.7494

Every format

HEX#8af0ff
RGBrgb(138, 240, 255)
HSLhsl(188, 100%, 77%)
CMYKcmyk(46%, 6%, 0%, 0%)
LABlab(89.4 -26.0 -16.5)
LCHlch(89.4 30.8 212.4)
OKLCHoklch(0.898 0.098 207.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af0ff on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#8af0ff on black: 15.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green94.1%
Blue100.0%

CMYK percentages

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

Color previews

#8af0ff text on a black background

contrast 15.99:1

Card sample

#8af0ff text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af0ff in the Color Lab