Color #371f7d
A moderately saturated dark blue.
Conversions
#371f7d
rgb(55, 31, 125)
hsl(255.3, 60.3%, 30.6%)
hsv(255.3, 75.2%, 49%)
cmyk(56%, 75.2%, 0%, 51%)
lab(21.1, 36.53, -49.2)
lch(21.1, 61.28, 306.59)
oklch(33.6%, 0.1481, 287.2)
hwb(255.3, 12.2%, 51%)
Harmony colors
Accessibility
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
background-color: #371f7d;
bg-[#371f7d]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #371f7d, or check how it holds up for accessibility.