#28027E Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #28027e graphic
An intense indigo, #28027e functions as a heavy, saturated base for dark mode interfaces. Because it is extremely dark, white text offers excellent legibility with a 15.0:1 contrast ratio. This shade brings a serious, authoritative mood to formal designs. Use this hex code as a background for high-end digital products, but keep it away from small, thin typography to ensure the color remains crisp.

Questions about #28027e

What is #28027e in RGB, HSL and CMYK?
In RGB, #28027e is rgb(40, 2, 126), in HSL hsl(258, 97%, 25%) and in CMYK 68%, 98%, 0%, 51%.
Why is #28027e recommended for dark mode interfaces?
The extreme depth of #28027e provides a sophisticated alternative to pure black while maintaining a massive 15.0:1 contrast ratio against white text. This makes it an ideal base for high-end UI where legibility and a premium, authoritative mood are both critical requirements.
What colors pair best with #28027e?
Use sharp, high-contrast tones like white or soft, neutral silver to allow the indigo to recede. For an accent, a warm gold or bright amber cuts through the darkness, creating a vibrant, luxurious aesthetic for buttons or call-to-action elements.
Is #28027e readable on white or black?
#28027e has a 14.99:1 contrast ratio on white and 1.40: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.