Skip to content
Vectorlight.net

#306fcc

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

HEX
#306fcc
RGB
48, 111, 204
HSL
215.77°, 61.9%, 49.41%
OKLCH
0.55 0.16 258.39
Names
—
Lists

Codes

FormatValue
HEX#306fcc
RGBrgb(48 111 204)
HSLhsl(215.77 61.9% 49.41%)
OKLCHoklch(0.55 0.16 258.39)
CMYKcmyk(76.47% 45.59% 0% 20%)
Android#ff306fcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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