#340D87 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#340d87 is a dark, saturated indigo-purple with cool blue undertones and a serious, mysterious mood. It suits meditation, luxury, gaming, finance, and night-sky branding, especially as a supporting tone or bold accent. The hex code #340d87 also works behind white text, offering about 13.5:1 contrast for accessible body copy.
Questions about #340d87
What is #340d87 in RGB, HSL and CMYK?
In RGB, #340d87 is rgb(52, 13, 135), in HSL hsl(259, 82%, 29%) and in CMYK 61%, 90%, 0%, 47%.
What colors pair well with #340d87?
Is #340d87 warm or cool?
#340d87 reads as a cool color because its deep purple base leans toward blue rather than red. That coolness gives it a serious, mysterious feel, while its high saturation keeps the shade vivid instead of dusty or subdued.
Does #340d87 work with white text?
#340d87 offers about 13.5:1 contrast with white, so white text is highly readable for body copy, headings, buttons, labels, and other interface elements when the text is rendered at an appropriate size and weight. Check the complete component and state as well.
Is #340d87 readable on white or black?
#340d87 has a 13.51:1 contrast ratio on white and 1.55: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.