Color #382e54
A muted dark blue.
Conversions
#382e54
rgb(56, 46, 84)
hsl(255.8, 29.2%, 25.5%)
hsv(255.8, 45.2%, 32.9%)
cmyk(33.3%, 45.2%, 0%, 67.1%)
lab(21.71, 14.35, -21.55)
lch(21.71, 25.89, 303.66)
oklch(33.1%, 0.0663, 294.59)
hwb(255.8, 18%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (12.45:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34344d · ΔE 5.9
Deuteranopia
#34354b · ΔE 7.3
Tritanopia
#384645 · ΔE 22.2
Achromatopsia
#343434 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #382e54;
bg-[#382e54]
Related colors
Frequently asked questions
#382e54 (#382e54) is rgb(56, 46, 84) in RGB.
No, #382e54 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 #382e54, or check how it holds up for accessibility.