Color #3a3166
A muted dark blue.
Conversions
#3a3166
rgb(58, 49, 102)
hsl(250.2, 35.1%, 29.6%)
hsv(250.2, 52%, 40%)
cmyk(43.1%, 52%, 0%, 60%)
lab(23.85, 18.53, -29.96)
lch(23.85, 35.23, 301.74)
oklch(35.1%, 0.0896, 288.76)
hwb(250.2, 19.2%, 60%)
Harmony colors
Accessibility
White text reads better on this background (11.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36365c · ΔE 4.4
Deuteranopia
#37375a · ΔE 5.2
Tritanopia
#3a5452 · ΔE 25.5
Achromatopsia
#393939 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a3166;
bg-[#3a3166]
Related colors
Frequently asked questions
#3a3166 (#3a3166) is rgb(58, 49, 102) in RGB.
No, #3a3166 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 #3a3166, or check how it holds up for accessibility.