#1A272E Hex Color

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

Hex color #1a272e graphic
#1a272e is an inky, desaturated blue that leans into dark grey. Its heavy saturation makes it an excellent choice for a background in dark mode UI design. Since this hex code offers a 15.3:1 contrast ratio against white text, it ensures perfect readability for small typography. Avoid pairing it with other dark greys to keep your layout from looking muddy.

Questions about #1a272e

What is #1a272e in RGB, HSL and CMYK?
In RGB, #1a272e is rgb(26, 39, 46), in HSL hsl(201, 28%, 14%) and in CMYK 43%, 15%, 0%, 82%. Browse more shades of black with names and hex codes.
What colors pair well with #1a272e for UI design?
Pair #1a272e with crisp whites for text or a vibrant teal for call-to-action buttons. Because this shade is so dark and muted, avoid pairing it with other dark greys, which can make your layout appear muddy and flat.
Is #1a272e readable on white or black?
#1a272e has a 15.28:1 contrast ratio on white and 1.37: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.