Skip to content
Vectorlight.net

#333148

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

HEX
#333148
RGB
51, 49, 72
HSL
245.22°, 19.01%, 23.73%
OKLCH
0.33 0.04 287.91
Names
—
Lists

Codes

FormatValue
HEX#333148
RGBrgb(51 49 72)
HSLhsl(245.22 19.01% 23.73%)
OKLCHoklch(0.33 0.04 287.91)
CMYKcmyk(29.17% 31.94% 0% 71.76%)
Android#ff333148

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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