Skip to content

#31abdf

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

RGB
49, 171, 223
HSL
198°, 73%, 53%
CMYK
78, 23, 0, 13
Luminance
0.3511

Every format

HEX#31abdf
RGBrgb(49, 171, 223)
HSLhsl(198, 73%, 53%)
CMYKcmyk(78%, 23%, 0%, 13%)
LABlab(65.8 -15.6 -35.6)
LCHlch(65.8 38.8 246.4)
OKLCHoklch(0.699 0.128 231.7)

Copy-ready code

/* CSS */
color: #31abdf;
background-color: #31abdf;
/* Tailwind (arbitrary) */
class="text-[#31abdf] bg-[#31abdf]"
/* SCSS */
$brand: #31abdf;
/* SwiftUI */
Color(red: 0.192, green: 0.671, blue: 0.875)
/* Android */
Color.parseColor("#31abdf")

Accessibility — WCAG contrast

Aa
#31abdf on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#31abdf on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green67.1%
Blue87.5%

CMYK percentages

Cyan78.0%
Magenta23.3%
Yellow0.0%
Key (black)12.5%

Color previews

#31abdf text on a black background

contrast 8.02:1

Card sample

#31abdf text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31abdf;
Background color
Panel with #31abdf background
background-color: #31abdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #31abdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(49, 171, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 171, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31abdf;
background: linear-gradient(135deg, #31abdf, #3137DF);

Monochromatic scale

Palettes built from #31abdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #31abdf in the Color Lab