Skip to content
Vectorlight.net

#101828

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

HEX
#101828
RGB
16, 24, 40
HSL
220°, 42.86%, 10.98%
OKLCH
0.21 0.03 263.44
Names
—
Lists

Codes

FormatValue
HEX#101828
RGBrgb(16 24 40)
HSLhsl(220 42.86% 10.98%)
OKLCHoklch(0.21 0.03 263.44)
CMYKcmyk(60% 40% 0% 84.31%)
Android#ff101828

Names & lists

Web-safe: No

Tailwind: gray-900

Contrast

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

Recolor an SVG with this color

CSS

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