Skip to content
Vectorlight.net

#2b74db

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

HEX
#2b74db
RGB
43, 116, 219
HSL
215.11°, 70.97%, 51.37%
OKLCH
0.57 0.17 257.97
Names
—
Lists

Codes

FormatValue
HEX#2b74db
RGBrgb(43 116 219)
HSLhsl(215.11 70.97% 51.37%)
OKLCHoklch(0.57 0.17 257.97)
CMYKcmyk(80.37% 47.03% 0% 14.12%)
Android#ff2b74db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2b74db;
background-color: #2b74db;
bg-[#2b74db]