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

Dark mode layouts and night-sky themes are where this muted indigo earns its keep. #282b40 is dark and heavily desaturated, with a gray undertone that reads matte rather than rich. Pair it with rust or amber so a palette doesn’t turn flat. White text holds strong contrast on it at about 13.9:1, so the hex code works behind small body copy.
Questions about #282b40
What is #282b40 in RGB, HSL and CMYK?
In RGB, #282b40 is rgb(40, 43, 64), in HSL hsl(233, 23%, 20%) and in CMYK 38%, 33%, 0%, 75%.
What text color works best on #282b40?
White text reads most clearly on #282b40, with a contrast ratio of about 13.9:1, well above the 4.5:1 required for WCAG AA body text. Light grays also work for secondary copy, while darker text disappears into the background.
What colors pair well with #282b40?
Warm accents like rust, amber, or terracotta give #282b40 a lift and keep muted palettes from feeling flat. Soft denim blues and dusty mauves work as quieter companions for calmer, tonal schemes.
Is #282b40 readable on white or black?
#282b40 has a 13.90:1 contrast ratio on white and 1.50: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.