Skip to content
Kolorvia
#312f4a

Color #312f4a

A muted dark blue.

Conversions

HEX
#312f4a
RGB
rgb(49, 47, 74)
HSL
hsl(244.4, 22.3%, 23.7%)
HSV / HSB
hsv(244.4, 36.5%, 29%)
CMYK
cmyk(33.8%, 36.5%, 0%, 71%)
LAB
lab(20.75, 8.23, -16.39)
LCH
lch(20.75, 18.34, 296.66)
OKLCH
oklch(32%, 0.0476, 286.72)
HWB
hwb(244.4, 18.4%, 71%)

Harmony colors

Complementary

#484a2f

Analogous

#2f3a4a
#312f4a
#3e2f4a

Triadic

#312f4a
#4a312f
#2f4a31

Split-complementary

#312f4a
#4a3e2f
#3a4a2f

Tetradic

#312f4a
#4a2f48
#484a2f
#2f4a31

Square

#312f4a
#4a2f3a
#484a2f
#2f4a3e

Shades

Color #312f4a mixed toward black.

#29273e
#211f31
#181725
#101019
#08080c

Tints

Color #312f4a mixed toward white.

#4b4872
#656199
#8b88b3
#b2b0cd
#d8d7e6

Tones

Color #312f4a mixed toward gray.

#333148
#353345
#373643
#393841
#3b3a3f

Accessibility

Aa White text on this color
12.84:1
Aa Black text on this color
1.64:1

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

Under color vision deficiencies

Protanopia

#303045 · ΔE 2.8

Deuteranopia

#303043 · ΔE 3.6

Tritanopia

#31403f · ΔE 19.1

Achromatopsia

#323232 · ΔE 14

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

Code

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

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#312f4a (#312f4a) is rgb(49, 47, 74) in RGB.

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