Skip to content
Vectorlight.net

#0381cc

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

HEX
#0381cc
RGB
3, 129, 204
HSL
202.39°, 97.1%, 40.59%
OKLCH
0.58 0.15 245.38
Names
—
Lists

Codes

FormatValue
HEX#0381cc
RGBrgb(3 129 204)
HSLhsl(202.39 97.1% 40.59%)
OKLCHoklch(0.58 0.15 245.38)
CMYKcmyk(98.53% 36.76% 0% 20%)
Android#ff0381cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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