#2F337B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#2f337b is a deep, moody indigo that leans into serious, authoritative territory. Because of its dark saturation, it works best as a primary background color rather than fine text. This shade offers excellent contrast with white, but can look muddy if paired with other dark, cool tones. If you are learning how to make purple, this hex code serves as a solid example of a complex, darkened base.
Questions about #2f337b
What is #2f337b in RGB, HSL and CMYK?
In RGB, #2f337b is rgb(47, 51, 123), in HSL hsl(237, 45%, 33%) and in CMYK 62%, 59%, 0%, 52%.
How should I use #2f337b in web design?
Use #2f337b as a primary background or accent color to convey authority and seriousness. Because it is highly saturated, avoid using it for small body text, as low contrast against dark backgrounds or poor readability can occur.
What colors pair well with #2f337b?
Pair #2f337b with crisp white to maximize contrast and impact. If you want a more complex palette, it complements soft neutrals like light gray or warm accents like mustard yellow to balance out its cool, dark intensity.
Is #2f337b readable on white or black?
#2f337b has a 11.16:1 contrast ratio on white and 1.88: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.