Skip to content
Kolorvia
#312858

Color #312858

A muted dark blue.

Conversions

HEX
#312858
RGB
rgb(49, 40, 88)
HSL
hsl(251.3, 37.5%, 25.1%)
HSV / HSB
hsv(251.3, 54.5%, 34.5%)
CMYK
cmyk(44.3%, 54.5%, 0%, 65.5%)
LAB
lab(19.54, 17.59, -27.7)
LCH
lch(19.54, 32.81, 302.42)
OKLCH
oklch(31.4%, 0.0832, 289.31)
HWB
hwb(251.3, 15.7%, 65.5%)

Harmony colors

Complementary

#4f5828

Analogous

#283758
#312858
#492858

Triadic

#312858
#583128
#285831

Split-complementary

#312858
#584928
#375828

Tetradic

#312858
#58284f
#4f5828
#285831

Square

#312858
#582837
#4f5828
#285849

Shades

Color #312858 mixed toward black.

#292149
#211b3b
#19142c
#100d1d
#08070f

Tints

Color #312858 mixed toward white.

#493c84
#6250af
#897cc3
#b0a7d7
#d8d3eb

Tones

Color #312858 mixed toward gray.

#342c54
#363050
#39344c
#3b3848
#3e3c44

Accessibility

Aa White text on this color
13.33:1
Aa Black text on this color
1.58:1

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

Under color vision deficiencies

Protanopia

#2d2d4f · ΔE 4.6

Deuteranopia

#2e2e4d · ΔE 5.5

Tritanopia

#314846 · ΔE 25

Achromatopsia

#2f2f2f · ΔE 20.2

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

Code

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

Related colors

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

Frequently asked questions

#312858 (#312858) is rgb(49, 40, 88) in RGB.

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