#304A87 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

A dark, muted blue with a cool gray cast, #304a87 feels serious and controlled without looking harsh. The hex code works well as a supporting tone for finance, security, technology, and government branding. Use it for navigation, cards, or dark-mode surfaces. White text reaches about 8.6:1 contrast, meeting WCAG AA for body copy.
Questions about #304a87
What is #304a87 in RGB, HSL and CMYK?
In RGB, #304a87 is rgb(48, 74, 135), in HSL hsl(222, 48%, 36%) and in CMYK 64%, 45%, 0%, 47%. Browse more shades of blue with names and hex codes.
What colors pair well with #304a87?
Pair #304a87 with warm beige, soft white, muted gold, or terracotta to balance its cool gray cast; use lighter neutrals for a clean interface and warmer accents when you want more energy.
Is #304a87 a warm or cool color?
#304a87 reads as a cool color because its blue base dominates, while the gray cast softens its intensity. That restrained, serious quality suits interfaces and branding that need authority without the sharper feel of bright navy.
Where does #304a87 work well?
Use #304a87 for navigation bars, cards, buttons, or dark-mode surfaces when you need a controlled blue that remains softer than pure black. Its low saturation also makes it a dependable supporting color beside brighter accents.
Is #304a87 readable on white or black?
#304a87 has a 8.55:1 contrast ratio on white and 2.45: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.