Skip to content
Vectorlight.net

#12113a

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

HEX
#12113a
RGB
18, 17, 58
HSL
241.46°, 54.67%, 14.71%
OKLCH
0.21 0.08 278.5
Names
—
Lists

Codes

FormatValue
HEX#12113a
RGBrgb(18 17 58)
HSLhsl(241.46 54.67% 14.71%)
OKLCHoklch(0.21 0.08 278.5)
CMYKcmyk(68.97% 70.69% 0% 77.25%)
Android#ff12113a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12113a;
background-color: #12113a;
bg-[#12113a]