Color #393157
A muted dark blue.
Conversions
#393157
rgb(57, 49, 87)
hsl(252.6, 27.9%, 26.7%)
hsv(252.6, 43.7%, 34.1%)
cmyk(34.5%, 43.7%, 0%, 65.9%)
lab(22.84, 13.53, -21.74)
lch(22.84, 25.61, 301.9)
oklch(34%, 0.0658, 292.24)
hwb(252.6, 19.2%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (11.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363650 · ΔE 5.1
Deuteranopia
#36374e · ΔE 6.5
Tritanopia
#394948 · ΔE 22.3
Achromatopsia
#373737 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #393157;
bg-[#393157]
Related colors
Frequently asked questions
#393157 (#393157) is rgb(57, 49, 87) in RGB.
No, #393157 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 #393157, or check how it holds up for accessibility.