Skip to content
Vectorlight.net

#0c5abb

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

HEX
#0c5abb
RGB
12, 90, 187
HSL
213.26°, 87.94%, 39.02%
OKLCH
0.48 0.17 257.64
Names
—
Lists

Codes

FormatValue
HEX#0c5abb
RGBrgb(12 90 187)
HSLhsl(213.26 87.94% 39.02%)
OKLCHoklch(0.48 0.17 257.64)
CMYKcmyk(93.58% 51.87% 0% 26.67%)
Android#ff0c5abb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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