Skip to content
Vectorlight.net

#031bc3

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

HEX
#031bc3
RGB
3, 27, 195
HSL
232.5°, 96.97%, 38.82%
OKLCH
0.39 0.24 264.53
Names
—
Lists

Codes

FormatValue
HEX#031bc3
RGBrgb(3 27 195)
HSLhsl(232.5 96.97% 38.82%)
OKLCHoklch(0.39 0.24 264.53)
CMYKcmyk(98.46% 86.15% 0% 23.53%)
Android#ff031bc3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #031bc3;
background-color: #031bc3;
bg-[#031bc3]