Skip to content
Vectorlight.net

#0381bf

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

HEX
#0381bf
RGB
3, 129, 191
HSL
199.79°, 96.91%, 38.04%
OKLCH
0.58 0.13 240.55
Names
—
Lists

Codes

FormatValue
HEX#0381bf
RGBrgb(3 129 191)
HSLhsl(199.79 96.91% 38.04%)
OKLCHoklch(0.58 0.13 240.55)
CMYKcmyk(98.43% 32.46% 0% 25.1%)
Android#ff0381bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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