Skip to content
Vectorlight.net

#240359

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

HEX
#240359
RGB
36, 3, 89
HSL
263.02°, 93.48%, 18.04%
OKLCH
0.24 0.13 289.66
Names
—
Lists

Codes

FormatValue
HEX#240359
RGBrgb(36 3 89)
HSLhsl(263.02 93.48% 18.04%)
OKLCHoklch(0.24 0.13 289.66)
CMYKcmyk(59.55% 96.63% 0% 65.1%)
Android#ff240359

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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