#0C0FAF vs #AFAC0C β€” Color Comparison

#0C0FAF

#0C0FAF

#AFAC0C

#AFAC0C

Contrast Ratio

5.13:1

Delta E

170.25

Very Different

50:50 Mix

Color Values

Format #0C0FAF #AFAC0C
HEX #0C0FAF #AFAC0C
RGB 12, 15, 175 175, 172, 12
HSL 238.9, 87.2%, 36.7% 58.9, 87.2%, 36.7%
HSV 238.9, 93.1%, 68.6% 58.9, 93.1%, 68.6%
CMYK 93.1%, 91.4%, 0.0%, 31.4% 0.0%, 1.7%, 93.1%, 31.4%
OKLCH 0.3523 0.2282 265.9 0.7234 0.1543 108.4

Contrast & Accessibility

5.13:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAC0C β†’ Background: #0C0FAF

The quick brown fox jumps over the lazy dog

Text: #0C0FAF β†’ Background: #AFAC0C

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #0C0FAF, #AFAC0C);
background: linear-gradient(135deg, #0C0FAF, #AFAC0C);

Explore Each Color

Related Comparisons