Skip to content
Vectorlight.net

#1843ef

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

HEX
#1843ef
RGB
24, 67, 239
HSL
228°, 87.04%, 51.57%
OKLCH
0.49 0.26 265.19
Names
—
Lists

Codes

FormatValue
HEX#1843ef
RGBrgb(24 67 239)
HSLhsl(228 87.04% 51.57%)
OKLCHoklch(0.49 0.26 265.19)
CMYKcmyk(89.96% 71.97% 0% 6.27%)
Android#ff1843ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1843ef;
background-color: #1843ef;
bg-[#1843ef]