Skip to content
Vectorlight.net

#302bde

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

HEX
#302bde
RGB
48, 43, 222
HSL
241.68°, 73.06%, 51.96%
OKLCH
0.45 0.25 271.03
Names
—
Lists

Codes

FormatValue
HEX#302bde
RGBrgb(48 43 222)
HSLhsl(241.68 73.06% 51.96%)
OKLCHoklch(0.45 0.25 271.03)
CMYKcmyk(78.38% 80.63% 0% 12.94%)
Android#ff302bde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #302bde;
background-color: #302bde;
bg-[#302bde]