Skip to content
Vectorlight.net

#22798d

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

HEX
#22798d
RGB
34, 121, 141
HSL
191.21°, 61.14%, 34.31%
OKLCH
0.53 0.08 216.82
Names
—
Lists

Codes

FormatValue
HEX#22798d
RGBrgb(34 121 141)
HSLhsl(191.21 61.14% 34.31%)
OKLCHoklch(0.53 0.08 216.82)
CMYKcmyk(75.89% 14.18% 0% 44.71%)
Android#ff22798d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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