Skip to content
Vectorlight.net

#302d3d

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

HEX
#302d3d
RGB
48, 45, 61
HSL
251.25°, 15.09%, 20.78%
OKLCH
0.31 0.03 293.23
Names
—
Lists

Codes

FormatValue
HEX#302d3d
RGBrgb(48 45 61)
HSLhsl(251.25 15.09% 20.78%)
OKLCHoklch(0.31 0.03 293.23)
CMYKcmyk(21.31% 26.23% 0% 76.08%)
Android#ff302d3d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #302d3d;
background-color: #302d3d;
bg-[#302d3d]