Skip to content
Vectorlight.net

#301594

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

HEX
#301594
RGB
48, 21, 148
HSL
252.76°, 75.15%, 33.14%
OKLCH
0.34 0.19 279.9
Names
—
Lists

Codes

FormatValue
HEX#301594
RGBrgb(48 21 148)
HSLhsl(252.76 75.15% 33.14%)
OKLCHoklch(0.34 0.19 279.9)
CMYKcmyk(67.57% 85.81% 0% 41.96%)
Android#ff301594

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #301594;
background-color: #301594;
bg-[#301594]