#302887 Hex Color

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

Hex color #302887 graphic
This saturated indigo sits between navy and violet, offering a moody alternative to standard dark blue. The hex code for this color is #302887. Because it is quite dark, use it as a 60% dominant base for night-themed UI or corporate branding. Pair it with soft cream or gold to avoid a muddy look. You can find other shades of purple in our full collection.

Questions about #302887

What is #302887 in RGB, HSL and CMYK?
In RGB, #302887 is rgb(48, 40, 135), in HSL hsl(245, 54%, 34%) and in CMYK 64%, 70%, 0%, 47%.
What colors pair best with #302887?
#302887 thrives when balanced against lighter, warmer tones that prevent its dark intensity from feeling muddy. Pair it with a soft cream or a muted gold to create a striking, high-contrast palette suitable for professional branding or editorial layouts.
Is #302887 considered a warm or cool color?
#302887 is distinctly cool, carrying deep violet undertones that push it further toward the purple spectrum than standard navy. This temperature makes it an excellent choice for backgrounds where you want to evoke a calm, nocturnal, or tech-forward aesthetic.
Is #302887 readable on white or black?
#302887 has a 11.80:1 contrast ratio on white and 1.77: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.