Skip to content
Vectorlight.net

#306cbe

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

HEX
#306cbe
RGB
48, 108, 190
HSL
214.65°, 59.66%, 46.67%
OKLCH
0.53 0.14 257.09
Names
—
Lists

Codes

FormatValue
HEX#306cbe
RGBrgb(48 108 190)
HSLhsl(214.65 59.66% 46.67%)
OKLCHoklch(0.53 0.14 257.09)
CMYKcmyk(74.74% 43.16% 0% 25.49%)
Android#ff306cbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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