Skip to content
Vectorlight.net

#1b5bda

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

HEX
#1b5bda
RGB
27, 91, 218
HSL
219.9°, 77.96%, 48.04%
OKLCH
0.51 0.2 262.07
Names
—
Lists

Codes

FormatValue
HEX#1b5bda
RGBrgb(27 91 218)
HSLhsl(219.9 77.96% 48.04%)
OKLCHoklch(0.51 0.2 262.07)
CMYKcmyk(87.61% 58.26% 0% 14.51%)
Android#ff1b5bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1b5bda;
background-color: #1b5bda;
bg-[#1b5bda]