Skip to content
Kolorvia
#31395b

Color #31395b

A muted dark blue.

Conversions

HEX
#31395b
RGB
rgb(49, 57, 91)
HSL
hsl(228.6, 30%, 27.5%)
HSV / HSB
hsv(228.6, 46.2%, 35.7%)
CMYK
cmyk(46.2%, 37.4%, 0%, 64.3%)
LAB
lab(24.75, 6.81, -21.43)
LCH
lch(24.75, 22.49, 287.63)
OKLCH
oklch(35.4%, 0.0603, 272.95)
HWB
hwb(228.6, 19.2%, 64.3%)

Harmony colors

Complementary

#5b5331

Analogous

#314e5b
#31395b
#3e315b

Triadic

#31395b
#5b3139
#395b31

Split-complementary

#31395b
#5b3e31
#4e5b31

Tetradic

#31395b
#53315b
#5b5331
#395b31

Square

#31395b
#5b314e
#5b5331
#315b3e

Shades

Color #31395b mixed toward black.

#29304c
#21263d
#191d2e
#10131e
#080a0f

Tints

Color #31395b mixed toward white.

#475283
#5f6da9
#8791be
#afb6d4
#d7dae9

Tones

Color #31395b mixed toward gray.

#353b58
#383d54
#3c4051
#3f424d
#43444a

Accessibility

Aa White text on this color
11.25:1
Aa Black text on this color
1.87:1

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

Under color vision deficiencies

Protanopia

#353554 · ΔE 3.2

Deuteranopia

#343453 · ΔE 3.3

Tritanopia

#314e4d · ΔE 21.3

Achromatopsia

#3b3b3b · ΔE 15.4

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#31395b (#31395b) is rgb(49, 57, 91) in RGB.

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