Skip to content
Kolorvia
#312a41

Color #312a41

A muted dark blue.

Conversions

HEX
#312a41
RGB
rgb(49, 42, 65)
HSL
hsl(258.3, 21.5%, 21%)
HSV / HSB
hsv(258.3, 35.4%, 25.5%)
CMYK
cmyk(24.6%, 35.4%, 0%, 74.5%)
LAB
lab(18.76, 9.04, -13.36)
LCH
lch(18.76, 16.13, 304.08)
OKLCH
oklch(30.3%, 0.0417, 297.85)
HWB
hwb(258.3, 16.5%, 74.5%)

Harmony colors

Complementary

#3a412a

Analogous

#2a2f41
#312a41
#3d2a41

Triadic

#312a41
#41312a
#2a4131

Split-complementary

#312a41
#413d2a
#2f412a

Tetradic

#312a41
#412a3a
#3a412a
#2a4131

Square

#312a41
#412a2f
#3a412a
#2a413d

Shades

Color #312a41 mixed toward black.

#292336
#211c2b
#191521
#100e16
#08070b

Tints

Color #312a41 mixed toward white.

#50446a
#6f5f93
#9285b0
#b6adca
#dbd6e5

Tones

Color #312a41 mixed toward gray.

#322c3f
#332e3d
#33303b
#343239
#353437

Accessibility

Aa White text on this color
13.65:1
Aa Black text on this color
1.54:1

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

Under color vision deficiencies

Protanopia

#2e2e3c · ΔE 5.8

Deuteranopia

#2f2f3b · ΔE 6.7

Tritanopia

#313837 · ΔE 16.7

Achromatopsia

#2e2e2e · ΔE 13.3

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

Code

CSS
background-color: #312a41;
Tailwind (arbitrary value)
bg-[#312a41]

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

#312a41 (#312a41) is rgb(49, 42, 65) in RGB.

No, #312a41 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 #312a41, 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.