Skip to content
Vectorlight.net

#0f3799

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

HEX
#0f3799
RGB
15, 55, 153
HSL
222.61°, 82.14%, 32.94%
OKLCH
0.38 0.17 263.53
Names
—
Lists

Codes

FormatValue
HEX#0f3799
RGBrgb(15 55 153)
HSLhsl(222.61 82.14% 32.94%)
OKLCHoklch(0.38 0.17 263.53)
CMYKcmyk(90.2% 64.05% 0% 40%)
Android#ff0f3799

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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