#04188E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

With its dark value and strong saturation, #04188e is a deep blue that feels controlled, serious, and dependable. The hex code #04188e works well as a dominant brand or interface color for finance, security, government, and technology. Pair it with burgundy or warm gray for depth, and use white text for about a 13.8:1 contrast ratio.
Questions about #04188e
What is #04188e in RGB, HSL and CMYK?
In RGB, #04188e is rgb(4, 24, 142), in HSL hsl(231, 95%, 29%) and in CMYK 97%, 83%, 0%, 44%. Browse more shades of blue with names and hex codes.
What colors pair well with #04188e?
#04188e pairs well with white, warm gray, and burgundy, using white for crisp contrast and warmer accents to soften its cool, serious character while preserving the blue's authority in branding and interface designs.
Is #04188e a warm or cool color?
#04188e reads as a cool blue because its strong blue channel and low red value create a crisp, restrained appearance rather than the warmth associated with red or yellow undertones. That makes it feel dependable, formal, and controlled.
Is #04188e readable on white or black?
#04188e has a 13.75:1 contrast ratio on white and 1.52: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.