Skip to content
Vectorlight.net

#303fed

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

HEX
#303fed
RGB
48, 63, 237
HSL
235.24°, 84%, 55.88%
OKLCH
0.49 0.25 269.19
Names
—
Lists

Codes

FormatValue
HEX#303fed
RGBrgb(48 63 237)
HSLhsl(235.24 84% 55.88%)
OKLCHoklch(0.49 0.25 269.19)
CMYKcmyk(79.75% 73.42% 0% 7.06%)
Android#ff303fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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