Skip to content
Vectorlight.net

#3124cc

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

HEX
#3124cc
RGB
49, 36, 204
HSL
244.64°, 70%, 47.06%
OKLCH
0.42 0.24 272.79
Names
—
Lists

Codes

FormatValue
HEX#3124cc
RGBrgb(49 36 204)
HSLhsl(244.64 70% 47.06%)
OKLCHoklch(0.42 0.24 272.79)
CMYKcmyk(75.98% 82.35% 0% 20%)
Android#ff3124cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3124cc;
background-color: #3124cc;
bg-[#3124cc]