#342DAF Hex Color

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

Hex color #342daf graphic
Not quite blue and not quite purple, indigo sits in the gap between them, and #342daf leans dark and moody. Its low lightness makes it a strong base for dark mode UIs and night sky palettes, and white text clears contrast at about 9.8:1. It reads richer against burgundy than against gray. The hex code for indigo here is #342daf.

Questions about #342daf

What is #342daf in RGB, HSL and CMYK?
In RGB, #342daf is rgb(52, 45, 175), in HSL hsl(243, 59%, 43%) and in CMYK 70%, 74%, 0%, 31%.
What colors pair well with #342daf?
Warm, muted tones pair best with #342daf: burgundy deepens its purple side, while antique gold and warm terracotta keep it from feeling cold. Avoid pairing it with bright azure, which flattens its depth.
Is #342daf readable on white or black?
#342daf has a 9.81:1 contrast ratio on white and 2.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.