Skip to content
Vectorlight.net

#306a82

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

HEX
#306a82
RGB
48, 106, 130
HSL
197.56°, 46.07%, 34.9%
OKLCH
0.5 0.07 227.93
Names
—
Lists

Codes

FormatValue
HEX#306a82
RGBrgb(48 106 130)
HSLhsl(197.56 46.07% 34.9%)
OKLCHoklch(0.5 0.07 227.93)
CMYKcmyk(63.08% 18.46% 0% 49.02%)
Android#ff306a82

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.98: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="#306a82"
Gradient stop
<stop stop-color="#306a82"/>
CSS variable + fill
:root { --c: #306a82; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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