Skip to content
Vectorlight.net

#120026

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

HEX
#120026
RGB
18, 0, 38
HSL
268.42°, 100%, 7.45%
OKLCH
0.15 0.08 301.47
Names
—
Lists

Codes

FormatValue
HEX#120026
RGBrgb(18 0 38)
HSLhsl(268.42 100% 7.45%)
OKLCHoklch(0.15 0.08 301.47)
CMYKcmyk(52.63% 100% 0% 85.1%)
Android#ff120026

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #120026;
background-color: #120026;
bg-[#120026]