Skip to content
Vectorlight.net

#303b2f

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

HEX
#303b2f
RGB
48, 59, 47
HSL
115°, 11.32%, 20.78%
OKLCH
0.34 0.03 142.78
Names
—
Lists

Codes

FormatValue
HEX#303b2f
RGBrgb(48 59 47)
HSLhsl(115 11.32% 20.78%)
OKLCHoklch(0.34 0.03 142.78)
CMYKcmyk(18.64% 0% 20.34% 76.86%)
Android#ff303b2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #303b2f;
background-color: #303b2f;
bg-[#303b2f]