Skip to content
Kolorvia
#31333e

Color #31333e

A nearly neutral, gray-leaning dark blue.

Conversions

HEX
#31333e
RGB
rgb(49, 51, 62)
HSL
hsl(230.8, 11.7%, 21.8%)
HSV / HSB
hsv(230.8, 21%, 24.3%)
CMYK
cmyk(21%, 17.7%, 0%, 75.7%)
LAB
lab(21.46, 1.96, -7.18)
LCH
lch(21.46, 7.44, 285.27)
OKLCH
oklch(32.4%, 0.0196, 277.02)
HWB
hwb(230.8, 19.2%, 75.7%)

Harmony colors

Complementary

#3e3c31

Analogous

#313a3e
#31333e
#36313e

Triadic

#31333e
#3e3133
#333e31

Split-complementary

#31333e
#3e3631
#3a3e31

Tetradic

#31333e
#3c313e
#3e3c31
#333e31

Square

#31333e
#3e313a
#3e3c31
#313e36

Shades

Color #31333e mixed toward black.

#292b34
#212229
#191a1f
#101115
#08090a

Tints

Color #31333e mixed toward white.

#4e5263
#6c7088
#9093a7
#b5b7c4
#dadbe2

Tones

Color #31333e mixed toward gray.

#32343d
#33353c
#34353b
#35363a
#373739

Accessibility

Aa White text on this color
12.55:1
Aa Black text on this color
1.67:1

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

Under color vision deficiencies

Protanopia

#32323c · ΔE 1.1

Deuteranopia

#32323b · ΔE 1.4

Tritanopia

#313a39 · ΔE 9.6

Achromatopsia

#333333 · ΔE 6.6

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

Code

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

Related colors

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

Frequently asked questions

#31333e (#31333e) is rgb(49, 51, 62) in RGB.

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