#1B218C Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #1b218c graphic
Dark and saturated, #1b218c is a cool blue with a slight violet undertone and a serious, controlled presence. The hex code #1b218c suits security, finance, technology, government, and formal branding. Use it as a dominant UI background or pair it with burgundy and white. White text provides about 12.8:1 contrast, meeting WCAG AA for body text.

Questions about #1b218c

What is #1b218c in RGB, HSL and CMYK?
In RGB, #1b218c is rgb(27, 33, 140), in HSL hsl(237, 68%, 33%) and in CMYK 81%, 76%, 0%, 45%. Browse more shades of blue with names and hex codes.
What colors pair well with #1b218c?
#1b218c pairs well with white for crisp contrast, burgundy for a richer formal palette, and pale cool neutrals for a quieter interface. These combinations preserve its cool, serious character without competing with its slight violet undertone.
Does #1b218c read as warm or cool?
#1b218c reads as a cool blue because its deep blue base is paired with a slight violet undertone, giving interfaces a controlled, focused feel rather than warmth or casual energy.
Is #1b218c readable on white or black?
#1b218c has a 12.78:1 contrast ratio on white and 1.64: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.