Skip to content
Vectorlight.net

#306b79

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

HEX
#306b79
RGB
48, 107, 121
HSL
191.51°, 43.2%, 33.14%
OKLCH
0.49 0.06 215.57
Names
—
Lists

Codes

FormatValue
HEX#306b79
RGBrgb(48 107 121)
HSLhsl(191.51 43.2% 33.14%)
OKLCHoklch(0.49 0.06 215.57)
CMYKcmyk(60.33% 11.57% 0% 52.55%)
Android#ff306b79

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #306b79;
background-color: #306b79;
bg-[#306b79]