Skip to content
Vectorlight.net

#1273ed

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

HEX
#1273ed
RGB
18, 115, 237
HSL
213.42°, 85.88%, 50%
OKLCH
0.58 0.2 257.82
Names
—
Lists

Codes

FormatValue
HEX#1273ed
RGBrgb(18 115 237)
HSLhsl(213.42 85.88% 50%)
OKLCHoklch(0.58 0.2 257.82)
CMYKcmyk(92.41% 51.48% 0% 7.06%)
Android#ff1273ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.70:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#1273ed"
Gradient stop
<stop stop-color="#1273ed"/>
CSS variable + fill
:root { --c: #1273ed; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1273ed;
background-color: #1273ed;
bg-[#1273ed]