Skip to content
Vectorlight.net

#298eaa

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

HEX
#298eaa
RGB
41, 142, 170
HSL
193.02°, 61.14%, 41.37%
OKLCH
0.6 0.1 220.81
Names
—
Lists

Codes

FormatValue
HEX#298eaa
RGBrgb(41 142 170)
HSLhsl(193.02 61.14% 41.37%)
OKLCHoklch(0.6 0.1 220.81)
CMYKcmyk(75.88% 16.47% 0% 33.33%)
Android#ff298eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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