Color #381d93
A moderately saturated dark blue.
Conversions
#381d93
rgb(56, 29, 147)
hsl(253.7, 67%, 34.5%)
hsv(253.7, 80.3%, 57.6%)
cmyk(61.9%, 80.3%, 0%, 42.4%)
lab(23.09, 44.4, -59.72)
lch(23.09, 74.42, 306.63)
oklch(35.7%, 0.1769, 283.3)
hwb(253.7, 11.4%, 42.4%)
Harmony colors
Accessibility
White text reads better on this background (11.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e82 · ΔE 5.9
Deuteranopia
#30327e · ΔE 7.4
Tritanopia
#37736f · ΔE 36.5
Achromatopsia
#373737 · ΔE 27.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #381d93;
bg-[#381d93]
Related colors
Frequently asked questions
#381d93 (#381d93) is rgb(56, 29, 147) in RGB.
No, #381d93 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 #381d93, or check how it holds up for accessibility.