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

Dark and muted, #1a1b51 sits between indigo and navy with a cool undertone that borders on mixing black. Its low lightness makes it a strong base for dark mode UI and moody branding. White text on the hex code #1a1b51 reaches about 15.9:1 contrast, well past AA. Pair it with burgundy or warm ochre rather than bright blue for a richer palette.
Questions about #1a1b51
What is #1a1b51 in RGB, HSL and CMYK?
In RGB, #1a1b51 is rgb(26, 27, 81), in HSL hsl(239, 51%, 21%) and in CMYK 68%, 67%, 0%, 68%.
What colors pair well with #1a1b51?
Burgundy, ochre, and dusty rose flatter #1a1b51 better than bright blues do, since warm accents cut through its cool depth. Use it as the dominant base and give a warm accent the final ten percent.
Is #1a1b51 readable on white or black?
#1a1b51 has a 15.91:1 contrast ratio on white and 1.31: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.