Skip to content
Vectorlight.net

#281abf

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

HEX
#281abf
RGB
40, 26, 191
HSL
245.09°, 76.04%, 42.55%
OKLCH
0.39 0.23 271.51
Names
—
Lists

Codes

FormatValue
HEX#281abf
RGBrgb(40 26 191)
HSLhsl(245.09 76.04% 42.55%)
OKLCHoklch(0.39 0.23 271.51)
CMYKcmyk(79.06% 86.39% 0% 25.1%)
Android#ff281abf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #281abf;
background-color: #281abf;
bg-[#281abf]