#2A21B8

#2A21B8

#AFB821

#AFB821

Contrast Ratio

4.83:1

Delta E

167.27

Very Different

50:50 Mix

Color Values

Format #2A21B8 #AFB821
HEX #2A21B8 #AFB821
RGB 42, 33, 184 175, 184, 33
HSL 243.6, 69.6%, 42.5% 63.6, 69.6%, 42.5%
HSV 243.6, 82.1%, 72.2% 63.6, 82.1%, 72.2%
CMYK 77.2%, 82.1%, 0.0%, 27.8% 4.9%, 0.0%, 82.1%, 27.8%
OKLCH 0.3925 0.2199 272.3 0.7508 0.1596 113.3

Contrast & Accessibility

4.83:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFB821 → Background: #2A21B8

The quick brown fox jumps over the lazy dog

Text: #2A21B8 → Background: #AFB821

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #2A21B8, #AFB821);
background: linear-gradient(135deg, #2A21B8, #AFB821);

Explore Each Color

Related Comparisons