#342FB4 vs #AFB42F β€” Color Comparison

#342FB4

#342FB4

#AFB42F

#AFB42F

Contrast Ratio

4.25:1

Delta E

151.55

Very Different

50:50 Mix

Color Values

Format #342FB4 #AFB42F
HEX #342FB4 #AFB42F
RGB 52, 47, 180 175, 180, 47
HSL 242.3, 58.6%, 44.5% 62.3, 58.6%, 44.5%
HSV 242.3, 73.9%, 70.6% 62.3, 73.9%, 70.6%
CMYK 71.1%, 73.9%, 0.0%, 29.4% 2.8%, 0.0%, 73.9%, 29.4%
OKLCH 0.4119 0.2004 274.7 0.7426 0.1487 111.7

Contrast & Accessibility

4.25:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFB42F β†’ Background: #342FB4

The quick brown fox jumps over the lazy dog

Text: #342FB4 β†’ Background: #AFB42F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #342FB4, #AFB42F);
background: linear-gradient(135deg, #342FB4, #AFB42F);

Explore Each Color

Related Comparisons