Skip to content
Kolorvia
#31497e

Color #31497e

A moderately saturated dark blue.

Conversions

HEX
#31497e
RGB
rgb(49, 73, 126)
HSL
hsl(221.3, 44%, 34.3%)
HSV / HSB
hsv(221.3, 61.1%, 49.4%)
CMYK
cmyk(61.1%, 42.1%, 0%, 50.6%)
LAB
lab(31.63, 8.32, -32.84)
LCH
lch(31.63, 33.88, 284.22)
OKLCH
oklch(41.3%, 0.0938, 264.31)
HWB
hwb(221.3, 19.2%, 50.6%)

Harmony colors

Complementary

#7e6631

Analogous

#316f7e
#31497e
#3f317e

Triadic

#31497e
#7e3149
#497e31

Split-complementary

#31497e
#7e3f31
#6f7e31

Tetradic

#31497e
#66317e
#7e6631
#497e31

Square

#31497e
#7e316f
#7e6631
#317e3f

Shades

Color #31497e mixed toward black.

#293d69
#213154
#18243f
#10182a
#080c15

Tints

Color #31497e mixed toward white.

#4160a6
#5e7dc0
#869dd0
#afbee0
#d7deef

Tones

Color #31497e mixed toward gray.

#374b78
#3e4e71
#44506b
#4b5364
#51555e

Accessibility

Aa White text on this color
8.81:1
Aa Black text on this color
2.38:1

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

Under color vision deficiencies

Protanopia

#3d3d74 · ΔE 6.5

Deuteranopia

#3b3971 · ΔE 7.5

Tritanopia

#336b69 · ΔE 25.4

Achromatopsia

#4a4a4a · ΔE 19.5

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

Code

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

Related colors

Cornflower Blue #6495ed
Royal Blue #4169e1
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#31497e (#31497e) is rgb(49, 73, 126) in RGB.

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