Skip to content
Vectorlight.net

#140d47

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

HEX
#140d47
RGB
20, 13, 71
HSL
247.24°, 69.05%, 16.47%
OKLCH
0.22 0.1 279.16
Names
—
Lists

Codes

FormatValue
HEX#140d47
RGBrgb(20 13 71)
HSLhsl(247.24 69.05% 16.47%)
OKLCHoklch(0.22 0.1 279.16)
CMYKcmyk(71.83% 81.69% 0% 72.16%)
Android#ff140d47

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #140d47;
background-color: #140d47;
bg-[#140d47]