Skip to content
Vectorlight.net

#333399

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

HEX
#333399
RGB
51, 51, 153
HSL
240°, 50%, 40%
OKLCH
0.39 0.16 275.91
Names
—
Lists

Codes

FormatValue
HEX#333399
RGBrgb(51 51 153)
HSLhsl(240 50% 40%)
OKLCHoklch(0.39 0.16 275.91)
CMYKcmyk(66.67% 66.67% 0% 40%)
Android#ff333399

Names & lists

Web-safe: Yes

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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