Skip to content
Vectorlight.net

#297bdb

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

HEX
#297bdb
RGB
41, 123, 219
HSL
212.36°, 71.2%, 50.98%
OKLCH
0.58 0.17 255.16
Names
—
Lists

Codes

FormatValue
HEX#297bdb
RGBrgb(41 123 219)
HSLhsl(212.36 71.2% 50.98%)
OKLCHoklch(0.58 0.17 255.16)
CMYKcmyk(81.28% 43.84% 0% 14.12%)
Android#ff297bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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