Skip to content
Vectorlight.net

#297fbc

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

HEX
#297fbc
RGB
41, 127, 188
HSL
204.9°, 64.19%, 44.9%
OKLCH
0.58 0.12 244.28
Names
—
Lists

Codes

FormatValue
HEX#297fbc
RGBrgb(41 127 188)
HSLhsl(204.9 64.19% 44.9%)
OKLCHoklch(0.58 0.12 244.28)
CMYKcmyk(78.19% 32.45% 0% 26.27%)
Android#ff297fbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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