#2B158C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#2b158c is a saturated, cool indigo that leans heavily into dark, moody territory. Because of its intense depth, it serves best as a dominant background color in dark mode UI or as a rich base for formal branding. White text is highly readable against this shade. Pair it with soft metallics or crisp off-whites to avoid a muddy appearance in smaller design elements.
Questions about #2b158c
What is #2b158c in RGB, HSL and CMYK?
In RGB, #2b158c is rgb(43, 21, 140), in HSL hsl(251, 74%, 32%) and in CMYK 69%, 85%, 0%, 45%.
How should #2b158c be used in digital design?
#2b158c works best as a primary background in dark mode interfaces because its depth provides strong contrast for white text. Use it alongside crisp off-whites to prevent the color from appearing muddy on smaller screens.
Which accent colors work well with #2b158c?
Pair #2b158c with soft metallics like champagne or silver to elevate the color for formal branding applications. These reflective neutrals brighten the saturated indigo base without overpowering its inherent moody, cool intensity.
Is #2b158c readable on white or black?
#2b158c has a 13.21:1 contrast ratio on white and 1.58:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.