#5157DF

#5157DF

#DFD951

#DFD951

Contrast Ratio

3.75:1

Delta E

151.16

Very Different

50:50 Mix

Color Values

Format #5157DF #DFD951
HEX #5157DF #DFD951
RGB 81, 87, 223 223, 217, 81
HSL 237.5, 68.9%, 59.6% 57.5, 68.9%, 59.6%
HSV 237.5, 63.7%, 87.5% 57.5, 63.7%, 87.5%
CMYK 63.7%, 61.0%, 0.0%, 12.5% 0.0%, 2.7%, 63.7%, 12.5%
OKLCH 0.5337 0.203 275.2 0.8654 0.1543 106.8

Contrast & Accessibility

3.75:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #DFD951 β†’ Background: #5157DF

The quick brown fox jumps over the lazy dog

Text: #5157DF β†’ Background: #DFD951

Color Difference (Delta E)

151.16 Very Different
0 β€” Identical 5 β€” Similar 25 β€” Noticeable 100 β€” Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #5157DF, #DFD951);
background: linear-gradient(135deg, #5157DF, #DFD951);

Explore Each Color

Related Comparisons