Skip to content
Vectorlight.net

#140262

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

HEX
#140262
RGB
20, 2, 98
HSL
251.25°, 96%, 19.61%
OKLCH
0.24 0.15 274.68
Names
—
Lists

Codes

FormatValue
HEX#140262
RGBrgb(20 2 98)
HSLhsl(251.25 96% 19.61%)
OKLCHoklch(0.24 0.15 274.68)
CMYKcmyk(79.59% 97.96% 0% 61.57%)
Android#ff140262

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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