Skip to content
Vectorlight.net

#297bad

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

HEX
#297bad
RGB
41, 123, 173
HSL
202.73°, 61.68%, 41.96%
OKLCH
0.56 0.11 240.14
Names
—
Lists

Codes

FormatValue
HEX#297bad
RGBrgb(41 123 173)
HSLhsl(202.73 61.68% 41.96%)
OKLCHoklch(0.56 0.11 240.14)
CMYKcmyk(76.3% 28.9% 0% 32.16%)
Android#ff297bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #297bad;
background-color: #297bad;
bg-[#297bad]