Skip to content

#1faff5

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

RGB
31, 175, 245
HSL
200°, 92%, 54%
CMYK
87, 29, 0, 4
Luminance
0.3754

Every format

HEX#1faff5
RGBrgb(31, 175, 245)
HSLhsl(200, 92%, 54%)
CMYKcmyk(87%, 29%, 0%, 4%)
LABlab(67.7 -11.5 -44.7)
LCHlch(67.7 46.2 255.6)
OKLCHoklch(0.716 0.150 237.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red12.2%
Green68.6%
Blue96.1%

CMYK percentages

Cyan87.3%
Magenta28.6%
Yellow0.0%
Key (black)3.9%

Color previews

#1faff5 text on a black background

contrast 8.51:1

Card sample

#1faff5 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1faff5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1faff5 in the Color Lab