Skip to content

#8af3ff

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

RGB
138, 243, 255
HSL
186°, 100%, 77%
CMYK
46, 5, 0, 0
Luminance
0.7672

Every format

HEX#8af3ff
RGBrgb(138, 243, 255)
HSLhsl(186, 100%, 77%)
CMYKcmyk(46%, 5%, 0%, 0%)
LABlab(90.2 -27.4 -15.3)
LCHlch(90.2 31.4 209.1)
OKLCHoklch(0.905 0.099 205.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green95.3%
Blue100.0%

CMYK percentages

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

Color previews

#8af3ff text on a black background

contrast 16.34:1

Card sample

#8af3ff text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af3ff in the Color Lab