Skip to content
Vectorlight.net

#0c0232

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

HEX
#0c0232
RGB
12, 2, 50
HSL
252.5°, 92.31%, 10.2%
OKLCH
0.16 0.09 282.2
Names
—
Lists

Codes

FormatValue
HEX#0c0232
RGBrgb(12 2 50)
HSLhsl(252.5 92.31% 10.2%)
OKLCHoklch(0.16 0.09 282.2)
CMYKcmyk(76% 96% 0% 80.39%)
Android#ff0c0232

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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