Skip to content
Vectorlight.net

#306def

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

HEX
#306def
RGB
48, 109, 239
HSL
220.84°, 85.65%, 56.27%
OKLCH
0.57 0.21 262.76
Names
—
Lists

Codes

FormatValue
HEX#306def
RGBrgb(48 109 239)
HSLhsl(220.84 85.65% 56.27%)
OKLCHoklch(0.57 0.21 262.76)
CMYKcmyk(79.92% 54.39% 0% 6.27%)
Android#ff306def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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