Skip to content

#1fd1f2

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

RGB
31, 209, 242
HSL
189°, 89%, 54%
CMYK
87, 14, 0, 5
Luminance
0.5230

Every format

HEX#1fd1f2
RGBrgb(31, 209, 242)
HSLhsl(189, 89%, 54%)
CMYKcmyk(87%, 14%, 0%, 5%)
LABlab(77.5 -30.1 -27.9)
LCHlch(77.5 41.0 222.9)
OKLCHoklch(0.794 0.136 215.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fd1f2 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#1fd1f2 on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green82.0%
Blue94.9%

CMYK percentages

Cyan87.2%
Magenta13.6%
Yellow0.0%
Key (black)5.1%

Color previews

#1fd1f2 text on a black background

contrast 11.46:1

Card sample

#1fd1f2 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fd1f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fd1f2 in the Color Lab