Skip to content
Vectorlight.net

#2a7eae

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

HEX
#2a7eae
RGB
42, 126, 174
HSL
201.82°, 61.11%, 42.35%
OKLCH
0.57 0.11 238.43
Names
—
Lists

Codes

FormatValue
HEX#2a7eae
RGBrgb(42 126 174)
HSLhsl(201.82 61.11% 42.35%)
OKLCHoklch(0.57 0.11 238.43)
CMYKcmyk(75.86% 27.59% 0% 31.76%)
Android#ff2a7eae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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