Color #3a286c
A moderately saturated dark blue.
Conversions
#3a286c
rgb(58, 40, 108)
hsl(255.9, 45.9%, 29%)
hsv(255.9, 63%, 42.4%)
cmyk(46.3%, 63%, 0%, 57.6%)
lab(21.94, 26.38, -36.91)
lch(21.94, 45.37, 305.55)
oklch(33.8%, 0.1131, 291.37)
hwb(255.9, 15.7%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (12.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333361 · ΔE 6.1
Deuteranopia
#34355e · ΔE 7.3
Tritanopia
#395754 · ΔE 27.6
Achromatopsia
#353535 · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a286c;
bg-[#3a286c]
Related colors
Frequently asked questions
#3a286c (#3a286c) is rgb(58, 40, 108) in RGB.
No, #3a286c 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 #3a286c, or check how it holds up for accessibility.