Skip to content

#1af2fc

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

RGB
26, 242, 252
HSL
183°, 97%, 55%
CMYK
90, 4, 0, 1
Luminance
0.7075

Every format

HEX#1af2fc
RGBrgb(26, 242, 252)
HSLhsl(183, 97%, 55%)
CMYKcmyk(90%, 4%, 0%, 1%)
LABlab(87.4 -42.6 -18.2)
LCHlch(87.4 46.3 203.1)
OKLCHoklch(0.875 0.146 200.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1af2fc on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#1af2fc on black: 15.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.2%
Green94.9%
Blue98.8%

CMYK percentages

Cyan89.7%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#1af2fc text on a black background

contrast 15.15:1

Card sample

#1af2fc text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1af2fc;
Background color
Panel with #1af2fc background
background-color: #1af2fc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(26, 242, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(26, 242, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1af2fc;
background: linear-gradient(135deg, #1af2fc, #1A5BFC);

Monochromatic scale

Palettes built from #1af2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1af2fc in the Color Lab