Skip to content

#1faff4

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

RGB
31, 175, 244
HSL
199°, 91%, 54%
CMYK
87, 28, 0, 4
Luminance
0.3748

Every format

HEX#1faff4
RGBrgb(31, 175, 244)
HSLhsl(199, 91%, 54%)
CMYKcmyk(87%, 28%, 0%, 4%)
LABlab(67.6 -11.9 -44.3)
LCHlch(67.6 45.8 255.0)
OKLCHoklch(0.715 0.149 237.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1faff4 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#1faff4 on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green68.6%
Blue95.7%

CMYK percentages

Cyan87.3%
Magenta28.3%
Yellow0.0%
Key (black)4.3%

Color previews

#1faff4 text on a black background

contrast 8.50:1

Card sample

#1faff4 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1faff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1faff4 in the Color Lab