#12266F Hex Color

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

Hex color #12266f graphic
The hex code #12266f defines a dark, cool blue with a faint violet undertone. Its low lightness and strong saturation create a serious, stable feel without black’s flatness. Use it as a dominant background in finance, technology, or corporate interfaces, where white text reaches about a 13.7:1 contrast ratio for readable body copy.

Questions about #12266f

What is #12266f in RGB, HSL and CMYK?
In RGB, #12266f is rgb(18, 38, 111), in HSL hsl(227, 72%, 25%) and in CMYK 84%, 66%, 0%, 56%.
What colors pair well with #12266f?
#12266f pairs well with warm burgundy, muted terracotta, soft cream, and cool gray, which balance its dark, saturated blue without making the palette feel overly corporate or severe in large areas. Reserve brighter warm accents for buttons or small focal details.
Where does #12266f work best in a design?
#12266f works best as a dominant dark base in finance, government, security, healthcare, and corporate interfaces, especially for headers, navigation, uniforms, and dark-mode surfaces, where clear hierarchy and authority matter. Its strong saturation keeps large areas from feeling muddy.
Is #12266f readable on white or black?
#12266f has a 13.70:1 contrast ratio on white and 1.53: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.