Skip to content

#1ff2fd

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

RGB
31, 242, 253
HSL
183°, 98%, 56%
CMYK
88, 4, 0, 1
Luminance
0.7089

Every format

HEX#1ff2fd
RGBrgb(31, 242, 253)
HSLhsl(183, 98%, 56%)
CMYKcmyk(88%, 4%, 0%, 1%)
LABlab(87.4 -42.1 -18.6)
LCHlch(87.4 46.0 203.9)
OKLCHoklch(0.876 0.146 200.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1ff2fd on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#1ff2fd on black: 15.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green94.9%
Blue99.2%

CMYK percentages

Cyan87.7%
Magenta4.3%
Yellow0.0%
Key (black)0.8%

Color previews

#1ff2fd text on a black background

contrast 15.18:1

Card sample

#1ff2fd text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1ff2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1ff2fd in the Color Lab