Skip to content
Vectorlight.net

#281986

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

HEX
#281986
RGB
40, 25, 134
HSL
248.26°, 68.55%, 31.18%
OKLCH
0.32 0.17 277.68
Names
—
Lists

Codes

FormatValue
HEX#281986
RGBrgb(40 25 134)
HSLhsl(248.26 68.55% 31.18%)
OKLCHoklch(0.32 0.17 277.68)
CMYKcmyk(70.15% 81.34% 0% 47.45%)
Android#ff281986

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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