Skip to content
Kolorvia
#3a2866

Color #3a2866

A moderately saturated dark blue.

Conversions

HEX
#3a2866
RGB
rgb(58, 40, 102)
HSL
hsl(257.4, 43.7%, 27.8%)
HSV / HSB
hsv(257.4, 60.8%, 40%)
CMYK
cmyk(43.1%, 60.8%, 0%, 60%)
LAB
lab(21.49, 24.5, -33.74)
LCH
lch(21.49, 41.7, 305.98)
OKLCH
oklch(33.4%, 0.1045, 293.28)
HWB
hwb(257.4, 15.7%, 60%)

Harmony colors

Complementary

#546628

Analogous

#283566
#3a2866
#592866

Triadic

#3a2866
#663a28
#28663a

Split-complementary

#3a2866
#665928
#356628

Tetradic

#3a2866
#662854
#546628
#28663a

Square

#3a2866
#662835
#546628
#286659

Shades

Color #3a2866 mixed toward black.

#302155
#271b44
#1d1433
#130d22
#0a0711

Tints

Color #3a2866 mixed toward white.

#533992
#6e4fba
#927bcb
#b6a7dc
#dbd3ee

Tones

Color #3a2866 mixed toward gray.

#3c2d61
#3e325c
#403756
#433d51
#45424c

Accessibility

Aa White text on this color
12.54:1
Aa Black text on this color
1.68:1

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

Under color vision deficiencies

Protanopia

#33335c · ΔE 6.3

Deuteranopia

#343559 · ΔE 7.7

Tritanopia

#395250 · ΔE 26

Achromatopsia

#343434 · ΔE 22.6

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

Code

CSS
background-color: #3a2866;
Tailwind (arbitrary value)
bg-[#3a2866]

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

#3a2866 (#3a2866) is rgb(58, 40, 102) in RGB.

No, #3a2866 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #3a2866, 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.