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

This dark, saturated indigo feels serious and grounded. With strong violet undertones, #2a338e works best as a moody base for tech branding or corporate UI design. It pairs well with crisp white for high-contrast accessibility, as the white text maintains a clear 10.7:1 ratio. Avoid using it alongside muted grays, as it tends to look muddy without a cleaner, lighter accent to lift the composition.
Questions about #2a338e
What is #2a338e in RGB, HSL and CMYK?
In RGB, #2a338e is rgb(42, 51, 142), in HSL hsl(235, 54%, 36%) and in CMYK 70%, 64%, 0%, 44%.
What works best as a highlight color for #2a338e?
Use crisp, bright whites or subtle, cool-toned creams to lift this deep indigo. Avoid muted grays, as they clash with the violet undertones, while adding a bright electric yellow or lime green can create a sharp, modern pop against the darkness.
Is #2a338e readable on white or black?
#2a338e has a 10.70:1 contrast ratio on white and 1.96: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.