Skip to content
Vectorlight.net

#306bca

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

HEX
#306bca
RGB
48, 107, 202
HSL
217.01°, 61.6%, 49.02%
OKLCH
0.54 0.16 259.6
Names
—
Lists

Codes

FormatValue
HEX#306bca
RGBrgb(48 107 202)
HSLhsl(217.01 61.6% 49.02%)
OKLCHoklch(0.54 0.16 259.6)
CMYKcmyk(76.24% 47.03% 0% 20.78%)
Android#ff306bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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