Skip to content
Vectorlight.net

#305cce

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

HEX
#305cce
RGB
48, 92, 206
HSL
223.29°, 62.2%, 49.8%
OKLCH
0.51 0.18 264.68
Names
—
Lists

Codes

FormatValue
HEX#305cce
RGBrgb(48 92 206)
HSLhsl(223.29 62.2% 49.8%)
OKLCHoklch(0.51 0.18 264.68)
CMYKcmyk(76.7% 55.34% 0% 19.22%)
Android#ff305cce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #305cce;
background-color: #305cce;
bg-[#305cce]