#2D28B4

#2D28B4

#AFB428

#AFB428

Contrast Ratio

4.52:1

Delta E

157.99

Very Different

50:50 Mix

Color Values

Format #2D28B4 #AFB428
HEX #2D28B4 #AFB428
RGB 45, 40, 180 175, 180, 40
HSL 242.1, 63.6%, 43.1% 62.1, 63.6%, 43.1%
HSV 242.1, 77.8%, 70.6% 62.1, 77.8%, 70.6%
CMYK 75.0%, 77.8%, 0.0%, 29.4% 2.8%, 0.0%, 77.8%, 29.4%
OKLCH 0.3981 0.2088 273.0 0.7422 0.1524 111.7

Contrast & Accessibility

4.52:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFB428 β†’ Background: #2D28B4

The quick brown fox jumps over the lazy dog

Text: #2D28B4 β†’ Background: #AFB428

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #2D28B4, #AFB428);
background: linear-gradient(135deg, #2D28B4, #AFB428);

Explore Each Color

Related Comparisons