Skip to content
Vectorlight.net

#28334a

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

HEX
#28334a
RGB
40, 51, 74
HSL
220.59°, 29.82%, 22.35%
OKLCH
0.32 0.04 264.41
Names
—
Lists

Codes

FormatValue
HEX#28334a
RGBrgb(40 51 74)
HSLhsl(220.59 29.82% 22.35%)
OKLCHoklch(0.32 0.04 264.41)
CMYKcmyk(45.95% 31.08% 0% 70.98%)
Android#ff28334a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28334a;
background-color: #28334a;
bg-[#28334a]