Skip to content
Vectorlight.net

#2126bc

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

HEX
#2126bc
RGB
33, 38, 188
HSL
238.06°, 70.14%, 43.33%
OKLCH
0.4 0.22 269.21
Names
—
Lists

Codes

FormatValue
HEX#2126bc
RGBrgb(33 38 188)
HSLhsl(238.06 70.14% 43.33%)
OKLCHoklch(0.4 0.22 269.21)
CMYKcmyk(82.45% 79.79% 0% 26.27%)
Android#ff2126bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2126bc;
background-color: #2126bc;
bg-[#2126bc]