#040787 vs #878404 β€” Color Comparison

#040787

#040787

#878404

#878404

Contrast Ratio

3.85:1

Delta E

141.71

Very Different

50:50 Mix

Color Values

Format #040787 #878404
HEX #040787 #878404
RGB 4, 7, 135 135, 132, 4
HSL 238.6, 94.2%, 27.3% 58.6, 94.2%, 27.3%
HSV 238.6, 97.0%, 52.9% 58.6, 97.0%, 52.9%
CMYK 97.0%, 94.8%, 0.0%, 47.1% 0.0%, 2.2%, 97.0%, 47.1%
OKLCH 0.2889 0.1903 265.2 0.5966 0.1277 108.1

Contrast & Accessibility

3.85:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #878404 β†’ Background: #040787

The quick brown fox jumps over the lazy dog

Text: #040787 β†’ Background: #878404

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #040787, #878404);
background: linear-gradient(135deg, #040787, #878404);

Explore Each Color

Related Comparisons