Skip to content
Vectorlight.net

#2d709f

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

HEX
#2d709f
RGB
45, 112, 159
HSL
204.74°, 55.88%, 40%
OKLCH
0.52 0.1 242.75
Names
—
Lists

Codes

FormatValue
HEX#2d709f
RGBrgb(45 112 159)
HSLhsl(204.74 55.88% 40%)
OKLCHoklch(0.52 0.1 242.75)
CMYKcmyk(71.7% 29.56% 0% 37.65%)
Android#ff2d709f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2d709f;
background-color: #2d709f;
bg-[#2d709f]