Skip to content

#1997eb

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

RGB
25, 151, 235
HSL
204°, 84%, 51%
CMYK
89, 36, 0, 8
Luminance
0.2834

Every format

HEX#1997eb
RGBrgb(25, 151, 235)
HSLhsl(204, 84%, 51%)
CMYKcmyk(89%, 36%, 0%, 8%)
LABlab(60.2 -1.9 -51.1)
LCHlch(60.2 51.1 267.8)
OKLCHoklch(0.655 0.160 245.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1997eb on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#1997eb on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.8%
Green59.2%
Blue92.2%

CMYK percentages

Cyan89.4%
Magenta35.7%
Yellow0.0%
Key (black)7.8%

Color previews

#1997eb text on a black background

contrast 6.67:1

Card sample

#1997eb text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1997eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1997eb in the Color Lab