Skip to content
Vectorlight.net

#28107b

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

HEX
#28107b
RGB
40, 16, 123
HSL
253.46°, 76.98%, 27.25%
OKLCH
0.3 0.16 280.79
Names
—
Lists

Codes

FormatValue
HEX#28107b
RGBrgb(40 16 123)
HSLhsl(253.46 76.98% 27.25%)
OKLCHoklch(0.3 0.16 280.79)
CMYKcmyk(67.48% 86.99% 0% 51.76%)
Android#ff28107b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28107b;
background-color: #28107b;
bg-[#28107b]