Skip to content
Kolorvia
#371f7d

Color #371f7d

A moderately saturated dark blue.

Conversions

HEX
#371f7d
RGB
rgb(55, 31, 125)
HSL
hsl(255.3, 60.3%, 30.6%)
HSV / HSB
hsv(255.3, 75.2%, 49%)
CMYK
cmyk(56%, 75.2%, 0%, 51%)
LAB
lab(21.1, 36.53, -49.2)
LCH
lch(21.1, 61.28, 306.59)
OKLCH
oklch(33.6%, 0.1481, 287.2)
HWB
hwb(255.3, 12.2%, 51%)

Harmony colors

Complementary

#657d1f

Analogous

#1f367d
#371f7d
#661f7d

Triadic

#371f7d
#7d371f
#1f7d37

Split-complementary

#371f7d
#7d661f
#367d1f

Tetradic

#371f7d
#7d1f65
#657d1f
#1f7d37

Square

#371f7d
#7d1f36
#657d1f
#1f7d66

Shades

Color #371f7d mixed toward black.

#2e1a68
#251553
#1b0f3f
#120a2a
#090515

Tints

Color #371f7d mixed toward white.

#4c2bac
#6642d0
#8c71dc
#b3a0e8
#d9d0f3

Tones

Color #371f7d mixed toward gray.

#3b2775
#3f2f6d
#433766
#463e5e
#4a4656

Accessibility

Aa White text on this color
12.69:1
Aa Black text on this color
1.65:1

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

Under color vision deficiencies

Protanopia

#2e2e6f · ΔE 6.3

Deuteranopia

#30316b · ΔE 7.7

Tritanopia

#36625f · ΔE 31.7

Achromatopsia

#333333 · ΔE 26

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

Code

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

Related colors

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

Frequently asked questions

#371f7d (#371f7d) is rgb(55, 31, 125) in RGB.

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