Skip to content
Vectorlight.net

#9ba2db

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

HEX
#9ba2db
RGB
155, 162, 219
HSL
233.44°, 47.06%, 73.33%
OKLCH
0.73 0.08 278.7
Names
—
Lists

Codes

FormatValue
HEX#9ba2db
RGBrgb(155 162 219)
HSLhsl(233.44 47.06% 73.33%)
OKLCHoklch(0.73 0.08 278.7)
CMYKcmyk(29.22% 26.03% 0% 14.12%)
Android#ff9ba2db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9ba2db;
background-color: #9ba2db;
bg-[#9ba2db]