Skip to content
Kolorvia
#313d7f

Color #313d7f

A moderately saturated dark blue.

Conversions

HEX
#313d7f
RGB
rgb(49, 61, 127)
HSL
hsl(230.8, 44.3%, 34.5%)
HSV / HSB
hsv(230.8, 61.4%, 49.8%)
CMYK
cmyk(61.4%, 52%, 0%, 50.2%)
LAB
lab(28.17, 16.81, -38.99)
LCH
lch(28.17, 42.46, 293.32)
OKLCH
oklch(38.7%, 0.1116, 272.41)
HWB
hwb(230.8, 19.2%, 50.2%)

Harmony colors

Complementary

#7f7331

Analogous

#31647f
#313d7f
#4c317f

Triadic

#313d7f
#7f313d
#3d7f31

Split-complementary

#313d7f
#7f4c31
#647f31

Tetradic

#313d7f
#73317f
#7f7331
#3d7f31

Square

#313d7f
#7f3164
#7f7331
#317f4c

Shades

Color #313d7f mixed toward black.

#29336a
#212955
#191e3f
#10142a
#080a15

Tints

Color #313d7f mixed toward white.

#4150a7
#5e6dc1
#8692d0
#afb6e0
#d7dbef

Tones

Color #313d7f mixed toward gray.

#374178
#3e4672
#444a6b
#4b4f65
#51535e

Accessibility

Aa White text on this color
9.98:1
Aa Black text on this color
2.1:1

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

Under color vision deficiencies

Protanopia

#373773 · ΔE 3.5

Deuteranopia

#363570 · ΔE 4.1

Tritanopia

#326966 · ΔE 28.8

Achromatopsia

#424242 · ΔE 22.2

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

Code

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

Related colors

Royal Blue #4169e1
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff

Frequently asked questions

#313d7f (#313d7f) is rgb(49, 61, 127) in RGB.

No, #313d7f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #313d7f, 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.