#0C21AF vs #AF9A0C β€” Color Comparison

#0C21AF

#0C21AF

#AF9A0C

#AF9A0C

Contrast Ratio

4.02:1

Delta E

154.77

Very Different

50:50 Mix

Color Values

Format #0C21AF #AF9A0C
HEX #0C21AF #AF9A0C
RGB 12, 33, 175 175, 154, 12
HSL 232.3, 87.2%, 36.7% 52.3, 87.2%, 36.7%
HSV 232.3, 93.1%, 68.6% 52.3, 93.1%, 68.6%
CMYK 93.1%, 81.1%, 0.0%, 31.4% 0.0%, 12.0%, 93.1%, 31.4%
OKLCH 0.3697 0.2165 265.6 0.6841 0.1396 99.3

Contrast & Accessibility

4.02:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AF9A0C β†’ Background: #0C21AF

The quick brown fox jumps over the lazy dog

Text: #0C21AF β†’ Background: #AF9A0C

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #0C21AF, #AF9A0C);
background: linear-gradient(135deg, #0C21AF, #AF9A0C);

Explore Each Color

Related Comparisons