Skip to content
Vectorlight.net

#01798d

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

HEX
#01798d
RGB
1, 121, 141
HSL
188.57°, 98.59%, 27.84%
OKLCH
0.53 0.09 214.55
Names
—
Lists

Codes

FormatValue
HEX#01798d
RGBrgb(1 121 141)
HSLhsl(188.57 98.59% 27.84%)
OKLCHoklch(0.53 0.09 214.55)
CMYKcmyk(99.29% 14.18% 0% 44.71%)
Android#ff01798d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12: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="#01798d"
Gradient stop
<stop stop-color="#01798d"/>
CSS variable + fill
:root { --c: #01798d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #01798d;
background-color: #01798d;
bg-[#01798d]