Skip to content
Vectorlight.net

#2981bc

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

HEX
#2981bc
RGB
41, 129, 188
HSL
204.08°, 64.19%, 44.9%
OKLCH
0.58 0.12 242.93
Names
—
Lists

Codes

FormatValue
HEX#2981bc
RGBrgb(41 129 188)
HSLhsl(204.08 64.19% 44.9%)
OKLCHoklch(0.58 0.12 242.93)
CMYKcmyk(78.19% 31.38% 0% 26.27%)
Android#ff2981bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2981bc;
background-color: #2981bc;
bg-[#2981bc]