Skip to content

#8afbfc

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

RGB
138, 251, 252
HSL
181°, 95%, 77%
CMYK
45, 0, 0, 1
Luminance
0.8143

Every format

HEX#8afbfc
RGBrgb(138, 251, 252)
HSLhsl(181, 95%, 77%)
CMYKcmyk(45%, 0%, 0%, 1%)
LABlab(92.3 -32.0 -10.5)
LCHlch(92.3 33.7 198.2)
OKLCHoklch(0.922 0.104 196.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afbfc on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#8afbfc on black: 17.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green98.4%
Blue98.8%

CMYK percentages

Cyan45.2%
Magenta0.4%
Yellow0.0%
Key (black)1.2%

Color previews

#8afbfc text on a black background

contrast 17.29:1

Card sample

#8afbfc text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afbfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afbfc in the Color Lab