Color #3a286d
A moderately saturated dark blue.
Conversions
#3a286d
rgb(58, 40, 109)
hsl(255.7, 46.3%, 29.2%)
hsv(255.7, 63.3%, 42.7%)
cmyk(46.8%, 63.3%, 0%, 57.3%)
lab(22.02, 26.7, -37.44)
lch(22.02, 45.99, 305.49)
oklch(33.9%, 0.1144, 291.05)
hwb(255.7, 15.7%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (12.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333362 · ΔE 6
Deuteranopia
#34355f · ΔE 7.2
Tritanopia
#395755 · ΔE 27
Achromatopsia
#353535 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a286d;
bg-[#3a286d]
Related colors
Frequently asked questions
#3a286d (#3a286d) is rgb(58, 40, 109) in RGB.
No, #3a286d 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 #3a286d, or check how it holds up for accessibility.