#797FA1 Hex Color
Sophisticated dusty indigo with cool undertones

This dusty, matte indigo carries a cool, desaturated presence that works well for understated branding. Because it sits comfortably between gray and blue, #797fa1 acts as an excellent neutral base for complex, high-contrast layouts. It pairs effectively with warm, sandy beiges or cream, avoiding the sterility of pure white. Use this hex code for secondary UI elements where readability matters, as it supports small black text well.
Questions about #797fa1
What is #797fa1 in RGB, HSL and CMYK?
In RGB, #797fa1 is rgb(121, 127, 161), in HSL hsl(231, 18%, 55%) and in CMYK 25%, 21%, 0%, 37%.
What colors pair best with #797fa1?
Is #797fa1 suitable for UI text usage?
This color is deep enough to provide strong readability when used as a background for light text or as a secondary text color on lighter surfaces. Always verify contrast ratios if using it for critical interface labels.
Is #797fa1 readable on white or black?
#797fa1 has a 3.91:1 contrast ratio on white and 5.36:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.