Skip to content
Vectorlight.net

#1d12ca

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

HEX
#1d12ca
RGB
29, 18, 202
HSL
243.59°, 83.64%, 43.14%
OKLCH
0.4 0.25 268.25
Names
—
Lists

Codes

FormatValue
HEX#1d12ca
RGBrgb(29 18 202)
HSLhsl(243.59 83.64% 43.14%)
OKLCHoklch(0.4 0.25 268.25)
CMYKcmyk(85.64% 91.09% 0% 20.78%)
Android#ff1d12ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1d12ca;
background-color: #1d12ca;
bg-[#1d12ca]