Skip to content
Vectorlight.net

#6040bb

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

HEX
#6040bb
RGB
96, 64, 187
HSL
255.61°, 49%, 49.22%
OKLCH
0.48 0.18 289.61
Names
—
Lists

Codes

FormatValue
HEX#6040bb
RGBrgb(96 64 187)
HSLhsl(255.61 49% 49.22%)
OKLCHoklch(0.48 0.18 289.61)
CMYKcmyk(48.66% 65.78% 0% 26.67%)
Android#ff6040bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6040bb;
background-color: #6040bb;
bg-[#6040bb]