Skip to content
Vectorlight.net

#307b5d

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

HEX
#307b5d
RGB
48, 123, 93
HSL
156°, 43.86%, 33.53%
OKLCH
0.53 0.09 163.93
Names
—
Lists

Codes

FormatValue
HEX#307b5d
RGBrgb(48 123 93)
HSLhsl(156 43.86% 33.53%)
OKLCHoklch(0.53 0.09 163.93)
CMYKcmyk(60.98% 0% 24.39% 51.76%)
Android#ff307b5d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #307b5d;
background-color: #307b5d;
bg-[#307b5d]