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

A dusty, slate-like charcoal, #40454d carries a serious, muted energy perfect for tech or security-focused UI. It works best as a primary background rather than an accent, providing a stable foundation for white text. Because it is highly legible, it maintains strong contrast for body copy. Pair this hex code with soft ochre or muted orange to cut through its inherent gloom.
Questions about #40454d
What is #40454d in RGB, HSL and CMYK?
In RGB, #40454d is rgb(64, 69, 77), in HSL hsl(217, 9%, 28%) and in CMYK 17%, 10%, 0%, 70%. Browse more shades of gray with names and hex codes.
Does #40454d work well for website body text?
#40454d provides excellent readability as a background color for white text, but it is often too dark to be used effectively as a foreground text color itself. It serves best as a stable, grounding foundation for interface layouts.
Which accent colors pair best with #40454d?
This color thrives when paired with high-contrast, warm accents like ochre or muted orange to break its inherent gloom. These specific pairings create visual interest without overwhelming the serious, professional mood established by the slate base.
Is #40454d readable on white or black?
#40454d has a 9.64:1 contrast ratio on white and 2.17: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.