Skip to content
Vectorlight.net

#1978ba

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#1978ba
RGB
25, 120, 186
HSL
204.6°, 76.3%, 41.37%
OKLCH
0.55 0.13 245.54
Names
—
Lists

Codes

FormatValue
HEX#1978ba
RGBrgb(25 120 186)
HSLhsl(204.6 76.3% 41.37%)
OKLCHoklch(0.55 0.13 245.54)
CMYKcmyk(86.56% 35.48% 0% 27.06%)
Android#ff1978ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#1978ba"
Gradient stop
<stop stop-color="#1978ba"/>
CSS variable + fill
:root { --c: #1978ba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1978ba;
background-color: #1978ba;
bg-[#1978ba]