#2222AF

#2222AF

#AFAF22

#AFAF22

Contrast Ratio

4.69:1

Delta E

158.65

Very Different

50:50 Mix

Color Values

Format #2222AF #AFAF22
HEX #2222AF #AFAF22
RGB 34, 34, 175 175, 175, 34
HSL 240.0, 67.5%, 41.0% 60.0, 67.5%, 41.0%
HSV 240.0, 80.6%, 68.6% 60.0, 80.6%, 68.6%
CMYK 80.6%, 80.6%, 0.0%, 31.4% 0.0%, 0.0%, 80.6%, 31.4%
OKLCH 0.3789 0.2109 270.4 0.7308 0.1502 109.6

Contrast & Accessibility

4.69:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAF22 β†’ Background: #2222AF

The quick brown fox jumps over the lazy dog

Text: #2222AF β†’ Background: #AFAF22

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #2222AF, #AFAF22);
background: linear-gradient(135deg, #2222AF, #AFAF22);

Explore Each Color

Related Comparisons