Skip to content
Kolorvia
#3a2f5e

Color #3a2f5e

A muted dark blue.

Conversions

HEX
#3a2f5e
RGB
rgb(58, 47, 94)
HSL
hsl(254, 33.3%, 27.6%)
HSV / HSB
hsv(254, 50%, 36.9%)
CMYK
cmyk(38.3%, 50%, 0%, 63.1%)
LAB
lab(22.79, 17.36, -26.42)
LCH
lch(22.79, 31.61, 303.31)
OKLCH
oklch(34.1%, 0.0806, 292.4)
HWB
hwb(254, 18.4%, 63.1%)

Harmony colors

Complementary

#535e2f

Analogous

#2f3b5e
#3a2f5e
#512f5e

Triadic

#3a2f5e
#5e3a2f
#2f5e3a

Split-complementary

#3a2f5e
#5e512f
#3b5e2f

Tetradic

#3a2f5e
#5e2f53
#535e2f
#2f5e3a

Square

#3a2f5e
#5e2f3b
#535e2f
#2f5e51

Shades

Color #3a2f5e mixed toward black.

#30274e
#271f3f
#1d172f
#13101f
#0a0810

Tints

Color #3a2f5e mixed toward white.

#534387
#6e5bad
#9284c1
#b7add6
#dbd6ea

Tones

Color #3a2f5e mixed toward gray.

#3c335a
#3e3756
#403b52
#423f4e
#44424a

Accessibility

Aa White text on this color
12.01:1
Aa Black text on this color
1.75:1

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

Under color vision deficiencies

Protanopia

#363555 · ΔE 5.2

Deuteranopia

#363753 · ΔE 6.8

Tritanopia

#3a4e4c · ΔE 24.6

Achromatopsia

#363636 · ΔE 19.9

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

Code

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

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Medium Purple #9370db
Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#3a2f5e (#3a2f5e) is rgb(58, 47, 94) in RGB.

No, #3a2f5e 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 #3a2f5e, 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.