Skip to content

#1997df

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

RGB
25, 151, 223
HSL
202°, 80%, 49%
CMYK
89, 32, 0, 13
Luminance
0.2767

Every format

HEX#1997df
RGBrgb(25, 151, 223)
HSLhsl(202, 80%, 49%)
CMYKcmyk(89%, 32%, 0%, 13%)
LABlab(59.6 -6.4 -45.4)
LCHlch(59.6 45.8 262.0)
OKLCHoklch(0.648 0.147 241.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1997df on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#1997df on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.8%
Green59.2%
Blue87.5%

CMYK percentages

Cyan88.8%
Magenta32.3%
Yellow0.0%
Key (black)12.5%

Color previews

#1997df text on a black background

contrast 6.53:1

Card sample

#1997df text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1997df;
Background color
Panel with #1997df background
background-color: #1997df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1997df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(25, 151, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 151, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1997df;
background: linear-gradient(135deg, #1997df, #1F19DF);

Monochromatic scale

Palettes built from #1997df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1997df in the Color Lab