Skip to content
Vectorlight.net

#298dd4

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

HEX
#298dd4
RGB
41, 141, 212
HSL
204.91°, 67.59%, 49.61%
OKLCH
0.62 0.14 244.91
Names
—
Lists

Codes

FormatValue
HEX#298dd4
RGBrgb(41 141 212)
HSLhsl(204.91 67.59% 49.61%)
OKLCHoklch(0.62 0.14 244.91)
CMYKcmyk(80.66% 33.49% 0% 16.86%)
Android#ff298dd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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