Skip to content
Vectorlight.net

#306cf8

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

HEX
#306cf8
RGB
48, 108, 248
HSL
222°, 93.46%, 58.04%
OKLCH
0.58 0.22 263.5
Names
—
Lists

Codes

FormatValue
HEX#306cf8
RGBrgb(48 108 248)
HSLhsl(222 93.46% 58.04%)
OKLCHoklch(0.58 0.22 263.5)
CMYKcmyk(80.65% 56.45% 0% 2.75%)
Android#ff306cf8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#306cf8"
Gradient stop
<stop stop-color="#306cf8"/>
CSS variable + fill
:root { --c: #306cf8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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