Skip to content
Vectorlight.net

#306dba

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

HEX
#306dba
RGB
48, 109, 186
HSL
213.48°, 58.97%, 45.88%
OKLCH
0.53 0.14 255.72
Names
—
Lists

Codes

FormatValue
HEX#306dba
RGBrgb(48 109 186)
HSLhsl(213.48 58.97% 45.88%)
OKLCHoklch(0.53 0.14 255.72)
CMYKcmyk(74.19% 41.4% 0% 27.06%)
Android#ff306dba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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