Skip to content
Vectorlight.net

#306bcb

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

HEX
#306bcb
RGB
48, 107, 203
HSL
217.16°, 61.75%, 49.22%
OKLCH
0.54 0.16 259.75
Names
—
Lists

Codes

FormatValue
HEX#306bcb
RGBrgb(48 107 203)
HSLhsl(217.16 61.75% 49.22%)
OKLCHoklch(0.54 0.16 259.75)
CMYKcmyk(76.35% 47.29% 0% 20.39%)
Android#ff306bcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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