Skip to content
Vectorlight.net

#2126ba

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

HEX
#2126ba
RGB
33, 38, 186
HSL
238.04°, 69.86%, 42.94%
OKLCH
0.4 0.22 269.29
Names
—
Lists

Codes

FormatValue
HEX#2126ba
RGBrgb(33 38 186)
HSLhsl(238.04 69.86% 42.94%)
OKLCHoklch(0.4 0.22 269.29)
CMYKcmyk(82.26% 79.57% 0% 27.06%)
Android#ff2126ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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