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

Dark and muted, #051127 is a near-black blue with cool, slightly gray undertones. Its low lightness gives interfaces a serious, secure feel, making it effective as a dominant background for finance, technology, government, and dark-mode designs. White text reads clearly at about 18.8:1 contrast, meeting WCAG AA for small body text. The hex code is #051127.
Questions about #051127
What is #051127 in RGB, HSL and CMYK?
In RGB, #051127 is rgb(5, 17, 39), in HSL hsl(219, 77%, 9%) and in CMYK 87%, 56%, 0%, 85%. Browse more shades of black with names and hex codes.
Does #051127 work well with white text?
White text on #051127 has approximately 18.8:1 contrast, exceeding WCAG AA requirements for normal and large text and making it suitable for readable dark-mode interfaces, dashboards, navigation, and other dense layouts.
What colors pair well with #051127?
Where does #051127 work well?
Use #051127 as a dominant background for dark-mode interfaces, finance dashboards, technology products, and formal layouts where its low lightness conveys security, focus, and restraint without the neutrality of pure black.
Is #051127 readable on white or black?
#051127 has a 18.81:1 contrast ratio on white and 1.11: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.