#05138C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark and highly saturated, #05138c is a cool blue with a serious, authoritative edge. Its strong depth suits security, finance, government, and technology branding, especially as a dominant UI background or bold logo color. Pair it with burgundy or soft gray for contrast. White text reads clearly at about 14.2:1 contrast. The hex code is #05138c.
Questions about #05138c
What is #05138c in RGB, HSL and CMYK?
In RGB, #05138c is rgb(5, 19, 140), in HSL hsl(234, 93%, 28%) and in CMYK 96%, 86%, 0%, 45%.
What colors pair well with #05138c?
#05138c pairs well with burgundy, soft gray, and white because these accents balance its saturated cool blue while preserving the serious, high-contrast feel that suits formal and digital designs. Use burgundy for warmth and soft gray for a quieter combination.
Is #05138c warm or cool?
#05138c reads as a cool blue because its strong blue bias and lack of visible yellow or red warmth create a crisp, serious impression suited to focused, authoritative visual systems. It feels more formal than relaxed, especially across large areas.
Does #05138c work with white text?
White text has about a 14.2:1 contrast ratio against #05138c, comfortably exceeding WCAG AA and AAA thresholds for normal-sized text and making this deep blue suitable for accessible buttons, navigation, headlines, and dark interface backgrounds.
Is #05138c readable on white or black?
#05138c has a 14.20:1 contrast ratio on white and 1.47: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.