Skip to content
Vectorlight.net

#303be7

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

HEX
#303be7
RGB
48, 59, 231
HSL
236.39°, 79.22%, 54.71%
OKLCH
0.48 0.25 269.66
Names
—
Lists

Codes

FormatValue
HEX#303be7
RGBrgb(48 59 231)
HSLhsl(236.39 79.22% 54.71%)
OKLCHoklch(0.48 0.25 269.66)
CMYKcmyk(79.22% 74.46% 0% 9.41%)
Android#ff303be7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #303be7;
background-color: #303be7;
bg-[#303be7]