Skip to content
Vectorlight.net

#306aeb

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

HEX
#306aeb
RGB
48, 106, 235
HSL
221.39°, 82.38%, 55.49%
OKLCH
0.56 0.2 263.16
Names
—
Lists

Codes

FormatValue
HEX#306aeb
RGBrgb(48 106 235)
HSLhsl(221.39 82.38% 55.49%)
OKLCHoklch(0.56 0.2 263.16)
CMYKcmyk(79.57% 54.89% 0% 7.84%)
Android#ff306aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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