A detailed comparison of #40474F and #2E3338 — near identical colors
background: linear-gradient(to right, #40474F, #2E3338);
With a contrast ratio of 1.36:1, this pair does not meet WCAG guidelines for text. Use these colors as adjacent blocks, gradients, or decorative accents rather than text-on-background pairings.
These colors have a 0\u00B0 hue difference, making them near identical. They create a harmonious, cohesive palette ideal for subtle variations in a design system.