#5F6FA8 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

A dusty indigo with gray holding it back. #5f6fa8 reads steady and understated, more a base than a statement. It shines as a supporting tone or dark-mode background, where white text clears AA contrast at about 4.9:1. Pair it with warm ochre or soft coral to keep it from going flat.
Questions about #5f6fa8
What is #5f6fa8 in RGB, HSL and CMYK?
In RGB, #5f6fa8 is rgb(95, 111, 168), in HSL hsl(227, 30%, 52%) and in CMYK 43%, 34%, 0%, 34%. Browse more shades of blue with names and hex codes.
What colors pair well with #5f6fa8?
Warm ochre, soft coral, and burgundy all flatter #5f6fa8, since their warmth offsets its cool gray undertone. Cream also works when plain white feels too stark against it.
Is #5f6fa8 readable on white or black?
#5f6fa8 has a 4.85:1 contrast ratio on white and 4.32: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.