Skip to content
Vectorlight.net

#0381cf

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

HEX
#0381cf
RGB
3, 129, 207
HSL
202.94°, 97.14%, 41.18%
OKLCH
0.59 0.15 246.33
Names
—
Lists

Codes

FormatValue
HEX#0381cf
RGBrgb(3 129 207)
HSLhsl(202.94 97.14% 41.18%)
OKLCHoklch(0.59 0.15 246.33)
CMYKcmyk(98.55% 37.68% 0% 18.82%)
Android#ff0381cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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