Color #3a3157
A muted dark blue.
Conversions
#3a3157
rgb(58, 49, 87)
hsl(254.2, 27.9%, 26.7%)
hsv(254.2, 43.7%, 34.1%)
cmyk(33.3%, 43.7%, 0%, 65.9%)
lab(22.94, 13.86, -21.57)
lch(22.94, 25.64, 302.72)
oklch(34.1%, 0.0658, 293.45)
hwb(254.2, 19.2%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (11.95:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363650 · ΔE 5.3
Deuteranopia
#37374e · ΔE 6.4
Tritanopia
#3a4948 · ΔE 22.2
Achromatopsia
#373737 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a3157;
bg-[#3a3157]
Related colors
Frequently asked questions
#3a3157 (#3a3157) is rgb(58, 49, 87) in RGB.
No, #3a3157 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 #3a3157, or check how it holds up for accessibility.