Skip to content
Vectorlight.net

#302137

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

HEX
#302137
RGB
48, 33, 55
HSL
280.91°, 25%, 17.25%
OKLCH
0.28 0.04 314.65
Names
—
Lists

Codes

FormatValue
HEX#302137
RGBrgb(48 33 55)
HSLhsl(280.91 25% 17.25%)
OKLCHoklch(0.28 0.04 314.65)
CMYKcmyk(12.73% 40% 0% 78.43%)
Android#ff302137

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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