Skip to content
Kolorvia
#2e126e

Color #2e126e

A vivid, highly saturated dark blue.

Conversions

HEX
#2e126e
RGB
rgb(46, 18, 110)
HSL
hsl(258.3, 71.9%, 25.1%)
HSV / HSB
hsv(258.3, 83.6%, 43.1%)
CMYK
cmyk(58.2%, 83.6%, 0%, 56.9%)
LAB
lab(16.2, 37.36, -47.64)
LCH
lch(16.2, 60.54, 308.1)
OKLCH
oklch(29.5%, 0.144, 287.79)
HWB
hwb(258.3, 7.1%, 56.9%)

Harmony colors

Complementary

#526e12

Analogous

#12246e
#2e126e
#5c126e

Triadic

#2e126e
#6e2e12
#126e2e

Split-complementary

#2e126e
#6e5c12
#246e12

Tetradic

#2e126e
#6e1252
#526e12
#126e2e

Square

#2e126e
#6e1224
#526e12
#126e5c

Shades

Color #2e126e mixed toward black.

#260f5c
#1f0c49
#170937
#0f0625
#080312

Tints

Color #2e126e mixed toward white.

#451ba5
#5c24db
#855be4
#ad92ed
#d6c8f6

Tones

Color #2e126e mixed toward gray.

#311a66
#34215f
#372957
#3a314f
#3d3848

Accessibility

Aa White text on this color
14.71:1
Aa Black text on this color
1.43:1

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

Under color vision deficiencies

Protanopia

#252461 · ΔE 6.8

Deuteranopia

#26285e · ΔE 8.5

Tritanopia

#2d5552 · ΔE 30.9

Achromatopsia

#282828 · ΔE 25.9

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

Code

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

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

#2e126e (#2e126e) is rgb(46, 18, 110) in RGB.

No, #2e126e 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 #2e126e, 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.