Skip to content
Vectorlight.net

#1807cb

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

HEX
#1807cb
RGB
24, 7, 203
HSL
245.2°, 93.33%, 41.18%
OKLCH
0.39 0.26 267.25
Names
—
Lists

Codes

FormatValue
HEX#1807cb
RGBrgb(24 7 203)
HSLhsl(245.2 93.33% 41.18%)
OKLCHoklch(0.39 0.26 267.25)
CMYKcmyk(88.18% 96.55% 0% 20.39%)
Android#ff1807cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1807cb;
background-color: #1807cb;
bg-[#1807cb]