Skip to content
Vectorlight.net

#298d8a

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

HEX
#298d8a
RGB
41, 141, 138
HSL
178.2°, 54.95%, 35.69%
OKLCH
0.59 0.09 192.06
Names
—
Lists

Codes

FormatValue
HEX#298d8a
RGBrgb(41 141 138)
HSLhsl(178.2 54.95% 35.69%)
OKLCHoklch(0.59 0.09 192.06)
CMYKcmyk(70.92% 0% 2.13% 44.71%)
Android#ff298d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #298d8a;
background-color: #298d8a;
bg-[#298d8a]