#1F21AF

#1F21AF

#AFAD1F

#AFAD1F

Contrast Ratio

4.65:1

Delta E

159.08

Very Different

50:50 Mix

Color Values

Format #1F21AF #AFAD1F
HEX #1F21AF #AFAD1F
RGB 31, 33, 175 175, 173, 31
HSL 239.2, 69.9%, 40.4% 59.2, 69.9%, 40.4%
HSV 239.2, 82.3%, 68.6% 59.2, 82.3%, 68.6%
CMYK 82.3%, 81.1%, 0.0%, 31.4% 0.0%, 1.1%, 82.3%, 31.4%
OKLCH 0.3762 0.2125 269.6 0.7262 0.1496 108.7

Contrast & Accessibility

4.65:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAD1F → Background: #1F21AF

The quick brown fox jumps over the lazy dog

Text: #1F21AF → Background: #AFAD1F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #1F21AF, #AFAD1F);
background: linear-gradient(135deg, #1F21AF, #AFAD1F);

Explore Each Color

Related Comparisons