Skip to content
Vectorlight.net

#335442

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

HEX
#335442
RGB
51, 84, 66
HSL
147.27°, 24.44%, 26.47%
OKLCH
0.41 0.05 159.4
Names
—
Lists

Codes

FormatValue
HEX#335442
RGBrgb(51 84 66)
HSLhsl(147.27 24.44% 26.47%)
OKLCHoklch(0.41 0.05 159.4)
CMYKcmyk(39.29% 0% 21.43% 67.06%)
Android#ff335442

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #335442;
background-color: #335442;
bg-[#335442]