Skip to content
Vectorlight.net

#307cac

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

HEX
#307cac
RGB
48, 124, 172
HSL
203.23°, 56.36%, 43.14%
OKLCH
0.56 0.1 240.27
Names
—
Lists

Codes

FormatValue
HEX#307cac
RGBrgb(48 124 172)
HSLhsl(203.23 56.36% 43.14%)
OKLCHoklch(0.56 0.1 240.27)
CMYKcmyk(72.09% 27.91% 0% 32.55%)
Android#ff307cac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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