Skip to content
Vectorlight.net

#2671ac

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

HEX
#2671ac
RGB
38, 113, 172
HSL
206.42°, 63.81%, 41.18%
OKLCH
0.53 0.12 246.55
Names
—
Lists

Codes

FormatValue
HEX#2671ac
RGBrgb(38 113 172)
HSLhsl(206.42 63.81% 41.18%)
OKLCHoklch(0.53 0.12 246.55)
CMYKcmyk(77.91% 34.3% 0% 32.55%)
Android#ff2671ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2671ac;
background-color: #2671ac;
bg-[#2671ac]