#4040F2

#4040F2

#F2F240

#F2F240

Contrast Ratio

5.43:1

Delta E

191.49

Very Different

50:50 Mix

Color Values

Format #4040F2 #F2F240
HEX #4040F2 #F2F240
RGB 64, 64, 242 242, 242, 64
HSL 240.0, 87.3%, 60.0% 60.0, 87.3%, 60.0%
HSV 240.0, 73.6%, 94.9% 60.0, 73.6%, 94.9%
CMYK 73.6%, 73.6%, 0.0%, 5.1% 0.0%, 0.0%, 73.6%, 5.1%
OKLCH 0.5056 0.2547 272.6 0.9322 0.1855 109.5

Contrast & Accessibility

5.43:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #F2F240 → Background: #4040F2

The quick brown fox jumps over the lazy dog

Text: #4040F2 → Background: #F2F240

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #4040F2, #F2F240);
background: linear-gradient(135deg, #4040F2, #F2F240);

Explore Each Color

Related Comparisons