#2A2ABA vs #BABA2A β€” Color Comparison

#2A2ABA

#2A2ABA

#BABA2A

#BABA2A

Contrast Ratio

4.74:1

Delta E

161.62

Very Different

50:50 Mix

Color Values

Format #2A2ABA #BABA2A
HEX #2A2ABA #BABA2A
RGB 42, 42, 186 186, 186, 42
HSL 240.0, 63.2%, 44.7% 60.0, 63.2%, 44.7%
HSV 240.0, 77.4%, 72.9% 60.0, 77.4%, 72.9%
CMYK 77.4%, 77.4%, 0.0%, 27.1% 0.0%, 0.0%, 77.4%, 27.1%
OKLCH 0.4056 0.2149 271.5 0.7649 0.1548 109.6

Contrast & Accessibility

4.74:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #BABA2A β†’ Background: #2A2ABA

The quick brown fox jumps over the lazy dog

Text: #2A2ABA β†’ Background: #BABA2A

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #2A2ABA, #BABA2A);
background: linear-gradient(135deg, #2A2ABA, #BABA2A);

Explore Each Color

Related Comparisons