A detailed comparison of #40666D and #4F6B87 — analogous colors
background: linear-gradient(to right, #40666D, #4F6B87);
With a contrast ratio of 1.13: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 20\u00B0 hue difference, making them analogous. They create a harmonious, cohesive palette ideal for subtle variations in a design system.