Skip to content
Vectorlight.net

#28394d

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

HEX
#28394d
RGB
40, 57, 77
HSL
212.43°, 31.62%, 22.94%
OKLCH
0.34 0.04 253
Names
—
Lists

Codes

FormatValue
HEX#28394d
RGBrgb(40 57 77)
HSLhsl(212.43 31.62% 22.94%)
OKLCHoklch(0.34 0.04 253)
CMYKcmyk(48.05% 25.97% 0% 69.8%)
Android#ff28394d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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