Skip to content
Vectorlight.net

#306cda

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

HEX
#306cda
RGB
48, 108, 218
HSL
218.82°, 69.67%, 52.16%
OKLCH
0.55 0.18 261.25
Names
—
Lists

Codes

FormatValue
HEX#306cda
RGBrgb(48 108 218)
HSLhsl(218.82 69.67% 52.16%)
OKLCHoklch(0.55 0.18 261.25)
CMYKcmyk(77.98% 50.46% 0% 14.51%)
Android#ff306cda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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