#335D9F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

The hex code #335d9f is a medium-dark, muted blue with cool gray undertones. Its restrained saturation creates a serious, dependable mood for finance, security, healthcare, and government branding. Use it as a supporting tone or dark UI background. White text provides about 6.5:1 contrast, meeting WCAG AA for body text.
Questions about #335d9f
What is #335d9f in RGB, HSL and CMYK?
In RGB, #335d9f is rgb(51, 93, 159), in HSL hsl(217, 51%, 41%) and in CMYK 68%, 42%, 0%, 38%. Browse more shades of blue with names and hex codes.
What colors pair well with #335d9f?
The hex color #335d9f pairs well with warm amber, soft peach, and terracotta, which balance its cool blue-gray character. White and pale gray create clean contrast, while deeper blue tones support a restrained monochromatic palette.
Is #335d9f a warm or cool color?
#335d9f reads as a cool blue because its hue leans strongly toward blue and its gray undertones reduce warmth. That restrained, medium-dark appearance gives it a calm, serious quality rather than the energetic feel of a bright, saturated blue.
Where does #335d9f work well in design?
#335d9f works well for supporting backgrounds, navigation, buttons, and visual accents in finance, healthcare, security, and government-oriented designs. Its muted blue tone communicates stability without the intensity of brighter blues, while white text remains highly legible.
Is #335d9f readable on white or black?
#335d9f has a 6.54:1 contrast ratio on white and 3.20: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.