#4040EC

#4040EC

#ECEC40

#ECEC40

Contrast Ratio

5.26:1

Delta E

186.27

Very Different

50:50 Mix

Color Values

Format #4040EC #ECEC40
HEX #4040EC #ECEC40
RGB 64, 64, 236 236, 236, 64
HSL 240.0, 81.9%, 58.8% 60.0, 81.9%, 58.8%
HSV 240.0, 72.9%, 92.5% 60.0, 72.9%, 92.5%
CMYK 72.9%, 72.9%, 0.0%, 7.5% 0.0%, 0.0%, 72.9%, 7.5%
OKLCH 0.4996 0.2477 272.9 0.9148 0.1811 109.5

Contrast & Accessibility

5.26:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #ECEC40 → Background: #4040EC

The quick brown fox jumps over the lazy dog

Text: #4040EC → Background: #ECEC40

Color Difference (Delta E)

186.27 Very Different
0 — Identical 5 — Similar 25 — Noticeable 100 — Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #4040EC, #ECEC40);
background: linear-gradient(135deg, #4040EC, #ECEC40);

Explore Each Color

Related Comparisons