Skip to content
Vectorlight.net

#1897cf

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

HEX
#1897cf
RGB
24, 151, 207
HSL
198.36°, 79.22%, 45.29%
OKLCH
0.64 0.13 234.97
Names
—
Lists

Codes

FormatValue
HEX#1897cf
RGBrgb(24 151 207)
HSLhsl(198.36 79.22% 45.29%)
OKLCHoklch(0.64 0.13 234.97)
CMYKcmyk(88.41% 27.05% 0% 18.82%)
Android#ff1897cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#1897cf"
Gradient stop
<stop stop-color="#1897cf"/>
CSS variable + fill
:root { --c: #1897cf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1897cf;
background-color: #1897cf;
bg-[#1897cf]