Skip to content
Vectorlight.net

#0f378d

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

HEX
#0f378d
RGB
15, 55, 141
HSL
220.95°, 80.77%, 30.59%
OKLCH
0.37 0.15 262.69
Names
—
Lists

Codes

FormatValue
HEX#0f378d
RGBrgb(15 55 141)
HSLhsl(220.95 80.77% 30.59%)
OKLCHoklch(0.37 0.15 262.69)
CMYKcmyk(89.36% 60.99% 0% 44.71%)
Android#ff0f378d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0f378d;
background-color: #0f378d;
bg-[#0f378d]