Skip to content
Vectorlight.net

#0c032e

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

HEX
#0c032e
RGB
12, 3, 46
HSL
252.56°, 87.76%, 9.61%
OKLCH
0.16 0.08 283.7
Names
—
Lists

Codes

FormatValue
HEX#0c032e
RGBrgb(12 3 46)
HSLhsl(252.56 87.76% 9.61%)
OKLCHoklch(0.16 0.08 283.7)
CMYKcmyk(73.91% 93.48% 0% 81.96%)
Android#ff0c032e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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