Skip to content
Vectorlight.net

#303eaf

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

HEX
#303eaf
RGB
48, 62, 175
HSL
233.39°, 56.95%, 43.73%
OKLCH
0.43 0.18 271.1
Names
—
Lists

Codes

FormatValue
HEX#303eaf
RGBrgb(48 62 175)
HSLhsl(233.39 56.95% 43.73%)
OKLCHoklch(0.43 0.18 271.1)
CMYKcmyk(72.57% 64.57% 0% 31.37%)
Android#ff303eaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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