#4040FF vs #FFFF40 β€” Color Comparison

#4040FF

#4040FF

#FFFF40

#FFFF40

Contrast Ratio

5.78:1

Delta E

202.64

Very Different

50:50 Mix

Color Values

Format #4040FF #FFFF40
HEX #4040FF #FFFF40
RGB 64, 64, 255 255, 255, 64
HSL 240.0, 100.0%, 62.5% 60.0, 100.0%, 62.5%
HSV 240.0, 74.9%, 100.0% 60.0, 74.9%, 100.0%
CMYK 74.9%, 74.9%, 0.0%, 0.0% 0.0%, 0.0%, 74.9%, 0.0%
OKLCH 0.5188 0.2694 271.9 0.9697 0.1949 109.5

Contrast & Accessibility

5.78:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #FFFF40 β†’ Background: #4040FF

The quick brown fox jumps over the lazy dog

Text: #4040FF β†’ Background: #FFFF40

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #4040FF, #FFFF40);
background: linear-gradient(135deg, #4040FF, #FFFF40);

Explore Each Color

Related Comparisons