Skip to content
Kolorvia
#312557

Color #312557

A moderately saturated dark blue.

Conversions

HEX
#312557
RGB
rgb(49, 37, 87)
HSL
hsl(254.4, 40.3%, 24.3%)
HSV / HSB
hsv(254.4, 57.5%, 34.1%)
CMYK
cmyk(43.7%, 57.5%, 0%, 65.9%)
LAB
lab(18.65, 19.33, -28.46)
LCH
lch(18.65, 34.4, 304.18)
OKLCH
oklch(30.7%, 0.0868, 291.48)
HWB
hwb(254.4, 14.5%, 65.9%)

Harmony colors

Complementary

#4b5725

Analogous

#253257
#312557
#4a2557

Triadic

#312557
#573125
#255731

Split-complementary

#312557
#574a25
#325725

Tetradic

#312557
#57254b
#4b5725
#255731

Square

#312557
#572532
#4b5725
#25574a

Shades

Color #312557 mixed toward black.

#291f48
#21193a
#18122b
#100c1d
#08060e

Tints

Color #312557 mixed toward white.

#4a3884
#644bb1
#8a78c5
#b1a5d9
#d8d2ec

Tones

Color #312557 mixed toward gray.

#332953
#352d4f
#37314a
#3a3646
#3c3a42

Accessibility

Aa White text on this color
13.7:1
Aa Black text on this color
1.53:1

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

Under color vision deficiencies

Protanopia

#2c2c4e · ΔE 5.4

Deuteranopia

#2d2e4c · ΔE 6.8

Tritanopia

#304645 · ΔE 24.5

Achromatopsia

#2d2d2d · ΔE 20.7

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

Code

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

Related colors

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

Frequently asked questions

#312557 (#312557) is rgb(49, 37, 87) in RGB.

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