Skip to content

#1972df

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

RGB
25, 114, 223
HSL
213°, 80%, 49%
CMYK
89, 49, 0, 13
Luminance
0.1757

Every format

HEX#1972df
RGBrgb(25, 114, 223)
HSLhsl(213, 80%, 49%)
CMYKcmyk(89%, 49%, 0%, 13%)
LABlab(49.0 16.0 -62.4)
LCHlch(49.0 64.4 284.4)
OKLCHoklch(0.565 0.184 256.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1972df on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#1972df on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.8%
Green44.7%
Blue87.5%

CMYK percentages

Cyan88.8%
Magenta48.9%
Yellow0.0%
Key (black)12.5%

Color previews

#1972df text on a black background

contrast 4.51:1

Card sample

#1972df text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1972df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1972df in the Color Lab