Skip to content
Vectorlight.net

#0f4fbd

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

HEX
#0f4fbd
RGB
15, 79, 189
HSL
217.93°, 85.29%, 40%
OKLCH
0.46 0.18 261
Names
—
Lists

Codes

FormatValue
HEX#0f4fbd
RGBrgb(15 79 189)
HSLhsl(217.93 85.29% 40%)
OKLCHoklch(0.46 0.18 261)
CMYKcmyk(92.06% 58.2% 0% 25.88%)
Android#ff0f4fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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