Skip to content
Vectorlight.net

#31839b

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

HEX
#31839b
RGB
49, 131, 155
HSL
193.58°, 51.96%, 40%
OKLCH
0.57 0.09 220.78
Names
—
Lists

Codes

FormatValue
HEX#31839b
RGBrgb(49 131 155)
HSLhsl(193.58 51.96% 40%)
OKLCHoklch(0.57 0.09 220.78)
CMYKcmyk(68.39% 15.48% 0% 39.22%)
Android#ff31839b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.85:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#31839b"
Gradient stop
<stop stop-color="#31839b"/>
CSS variable + fill
:root { --c: #31839b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #31839b;
background-color: #31839b;
bg-[#31839b]