#1A004C Hex Color

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

Hex color #1a004c graphic
This extremely dark violet sits on the edge of black, offering a cold and moody foundation. Because of its intense depth, it works best as a dominant UI background rather than for fine details. White text offers excellent contrast against it, ensuring readability. The hex code for this serious, mysterious shade is #1a004c.

Questions about #1a004c

What is #1a004c in RGB, HSL and CMYK?
In RGB, #1a004c is rgb(26, 0, 76), in HSL hsl(261, 100%, 15%) and in CMYK 66%, 100%, 0%, 70%.
What color schemes work best with #1a004c?
Because #1a004c functions effectively as a black alternative, it pairs beautifully with high-contrast accents like crisp white or soft cream for text, while neon chartreuse or electric cyan can create a sophisticated, tech-forward aesthetic.
Is #1a004c a good choice for body text?
Using #1a004c as a text color is generally discouraged for small body copy because its extreme depth makes it difficult to distinguish from a black background, though it works well for large, bold headers against lighter surfaces.
Is #1a004c readable on white or black?
#1a004c has a 18.28:1 contrast ratio on white and 1.14: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.