Skip to content
Vectorlight.net

#3155cb

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

HEX
#3155cb
RGB
49, 85, 203
HSL
225.97°, 61.11%, 49.41%
OKLCH
0.5 0.19 266.48
Names
—
Lists

Codes

FormatValue
HEX#3155cb
RGBrgb(49 85 203)
HSLhsl(225.97 61.11% 49.41%)
OKLCHoklch(0.5 0.19 266.48)
CMYKcmyk(75.86% 58.13% 0% 20.39%)
Android#ff3155cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3155cb;
background-color: #3155cb;
bg-[#3155cb]