Skip to content
Kolorvia
#311c8a

Color #311c8a

A moderately saturated dark blue.

Conversions

HEX
#311c8a
RGB
rgb(49, 28, 138)
HSL
hsl(251.5, 66.3%, 32.5%)
HSV / HSB
hsv(251.5, 79.7%, 54.1%)
CMYK
cmyk(64.5%, 79.7%, 0%, 45.9%)
LAB
lab(21.27, 41.34, -57.13)
LCH
lch(21.27, 70.52, 305.89)
OKLCH
oklch(34%, 0.1681, 281.39)
HWB
hwb(251.5, 11%, 45.9%)

Harmony colors

Complementary

#758a1c

Analogous

#1c3e8a
#311c8a
#681c8a

Triadic

#311c8a
#8a311c
#1c8a31

Split-complementary

#311c8a
#8a681c
#3e8a1c

Tetradic

#311c8a
#8a1c75
#758a1c
#1c8a31

Square

#311c8a
#8a1c3e
#758a1c
#1c8a68

Shades

Color #311c8a mixed toward black.

#291773
#21135c
#180e45
#10092e
#080517

Tints

Color #311c8a mixed toward white.

#4226ba
#5d40d8
#8670e2
#aea0ec
#d7cff5

Tones

Color #311c8a mixed toward gray.

#372581
#3c2e78
#42376e
#484165
#4d4a5c

Accessibility

Aa White text on this color
12.62:1
Aa Black text on this color
1.66:1

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

Under color vision deficiencies

Protanopia

#29297a · ΔE 5.1

Deuteranopia

#2a2c76 · ΔE 6.4

Tritanopia

#306c68 · ΔE 35.7

Achromatopsia

#333333 · ΔE 27.3

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

Code

CSS
background-color: #311c8a;
Tailwind (arbitrary value)
bg-[#311c8a]

Related colors

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

Frequently asked questions

#311c8a (#311c8a) is rgb(49, 28, 138) in RGB.

No, #311c8a 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 #311c8a, 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.