Skip to content
Vectorlight.net

#123aed

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

HEX
#123aed
RGB
18, 58, 237
HSL
229.04°, 85.88%, 50%
OKLCH
0.48 0.26 265.07
Names
—
Lists

Codes

FormatValue
HEX#123aed
RGBrgb(18 58 237)
HSLhsl(229.04 85.88% 50%)
OKLCHoklch(0.48 0.26 265.07)
CMYKcmyk(92.41% 75.53% 0% 7.06%)
Android#ff123aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #123aed;
background-color: #123aed;
bg-[#123aed]