Skip to content
Kolorvia
#2e1a62

Color #2e1a62

A moderately saturated dark blue.

Conversions

HEX
#2e1a62
RGB
rgb(46, 26, 98)
HSL
hsl(256.7, 58.1%, 24.3%)
HSV / HSB
hsv(256.7, 73.5%, 38.4%)
CMYK
cmyk(53.1%, 73.5%, 0%, 61.6%)
LAB
lab(16.51, 29.33, -39.26)
LCH
lch(16.51, 49.01, 306.76)
OKLCH
oklch(29.3%, 0.1196, 289.69)
HWB
hwb(256.7, 10.2%, 61.6%)

Harmony colors

Complementary

#4e621a

Analogous

#1a2a62
#2e1a62
#521a62

Triadic

#2e1a62
#622e1a
#1a622e

Split-complementary

#2e1a62
#62521a
#2a621a

Tetradic

#2e1a62
#621a4e
#4e621a
#1a622e

Square

#2e1a62
#621a2a
#4e621a
#1a6252

Shades

Color #2e1a62 mixed toward black.

#261652
#1f1141
#170d31
#0f0921
#080410

Tints

Color #2e1a62 mixed toward white.

#462795
#5e35c8
#8666d7
#ae99e4
#d7ccf2

Tones

Color #2e1a62 mixed toward gray.

#31205c
#332656
#362c50
#39324a
#3b3844

Accessibility

Aa White text on this color
14.58:1
Aa Black text on this color
1.44:1

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

Under color vision deficiencies

Protanopia

#272657 · ΔE 6

Deuteranopia

#282954 · ΔE 7.6

Tritanopia

#2d4d4a · ΔE 28.3

Achromatopsia

#292929 · ΔE 23.9

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

Code

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

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

#2e1a62 (#2e1a62) is rgb(46, 26, 98) in RGB.

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