Skip to content
Vectorlight.net

#0fa5dc

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

HEX
#0fa5dc
RGB
15, 165, 220
HSL
196.1°, 87.23%, 46.08%
OKLCH
0.68 0.14 231.68
Names
—
Lists

Codes

FormatValue
HEX#0fa5dc
RGBrgb(15 165 220)
HSLhsl(196.1 87.23% 46.08%)
OKLCHoklch(0.68 0.14 231.68)
CMYKcmyk(93.18% 25% 0% 13.73%)
Android#ff0fa5dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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