Skip to content
Kolorvia
#2b126a

Color #2b126a

A vivid, highly saturated dark blue.

Conversions

HEX
#2b126a
RGB
rgb(43, 18, 106)
HSL
hsl(257, 71%, 24.3%)
HSV / HSB
hsv(257, 83%, 41.6%)
CMYK
cmyk(59.4%, 83%, 0%, 58.4%)
LAB
lab(15.42, 35.75, -46.33)
LCH
lch(15.42, 58.52, 307.66)
OKLCH
oklch(28.7%, 0.1394, 286.81)
HWB
hwb(257, 7.1%, 58.4%)

Harmony colors

Complementary

#516a12

Analogous

#12256a
#2b126a
#57126a

Triadic

#2b126a
#6a2b12
#126a2b

Split-complementary

#2b126a
#6a5712
#256a12

Tetradic

#2b126a
#6a1251
#516a12
#126a2b

Square

#2b126a
#6a1225
#516a12
#126a57

Shades

Color #2b126a mixed toward black.

#240f58
#1d0c47
#150935
#0e0623
#070312

Tints

Color #2b126a mixed toward white.

#411ba1
#5725d8
#815ae3
#ab91ec
#d5c8f6

Tones

Color #2b126a mixed toward gray.

#2e1963
#31215b
#342854
#382f4d
#3b3745

Accessibility

Aa White text on this color
15.03:1
Aa Black text on this color
1.4:1

White text reads better on this background (15.03:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#22225e · ΔE 6.3

Deuteranopia

#24255a · ΔE 7.8

Tritanopia

#2a524f · ΔE 30.6

Achromatopsia

#272727 · ΔE 25.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #2b126a;
Tailwind (arbitrary value)
bg-[#2b126a]

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#2b126a (#2b126a) is rgb(43, 18, 106) in RGB.

No, #2b126a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #2b126a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.