Skip to content
Vectorlight.net

#28504d

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

HEX
#28504d
RGB
40, 80, 77
HSL
175.5°, 33.33%, 23.53%
OKLCH
0.4 0.05 189.19
Names
—
Lists

Codes

FormatValue
HEX#28504d
RGBrgb(40 80 77)
HSLhsl(175.5 33.33% 23.53%)
OKLCHoklch(0.4 0.05 189.19)
CMYKcmyk(50% 0% 3.75% 68.63%)
Android#ff28504d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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