Skip to content
Vectorlight.net

#0c2ead

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

HEX
#0c2ead
RGB
12, 46, 173
HSL
227.33°, 87.03%, 36.27%
OKLCH
0.39 0.2 264.89
Names
—
Lists

Codes

FormatValue
HEX#0c2ead
RGBrgb(12 46 173)
HSLhsl(227.33 87.03% 36.27%)
OKLCHoklch(0.39 0.2 264.89)
CMYKcmyk(93.06% 73.41% 0% 32.16%)
Android#ff0c2ead

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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