Skip to content
Vectorlight.net

#3338dc

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

HEX
#3338dc
RGB
51, 56, 220
HSL
238.22°, 70.71%, 53.14%
OKLCH
0.47 0.24 271.02
Names
—
Lists

Codes

FormatValue
HEX#3338dc
RGBrgb(51 56 220)
HSLhsl(238.22 70.71% 53.14%)
OKLCHoklch(0.47 0.24 271.02)
CMYKcmyk(76.82% 74.55% 0% 13.73%)
Android#ff3338dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3338dc;
background-color: #3338dc;
bg-[#3338dc]