Skip to content
Vectorlight.net

#21748d

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

HEX
#21748d
RGB
33, 116, 141
HSL
193.89°, 62.07%, 34.12%
OKLCH
0.52 0.09 222.55
Names
—
Lists

Codes

FormatValue
HEX#21748d
RGBrgb(33 116 141)
HSLhsl(193.89 62.07% 34.12%)
OKLCHoklch(0.52 0.09 222.55)
CMYKcmyk(76.6% 17.73% 0% 44.71%)
Android#ff21748d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21748d;
background-color: #21748d;
bg-[#21748d]