#181CAF vs #AFAB18 β€” Color Comparison

#181CAF

#181CAF

#AFAB18

#AFAB18

Contrast Ratio

4.75:1

Delta E

162.39

Very Different

50:50 Mix

Color Values

Format #181CAF #AFAB18
HEX #181CAF #AFAB18
RGB 24, 28, 175 175, 171, 24
HSL 238.4, 75.9%, 39.0% 58.4, 75.9%, 39.0%
HSV 238.4, 86.3%, 68.6% 58.4, 86.3%, 68.6%
CMYK 86.3%, 84.0%, 0.0%, 31.4% 0.0%, 2.3%, 86.3%, 31.4%
OKLCH 0.3676 0.218 268.0 0.7215 0.1503 107.9

Contrast & Accessibility

4.75:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAB18 β†’ Background: #181CAF

The quick brown fox jumps over the lazy dog

Text: #181CAF β†’ Background: #AFAB18

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #181CAF, #AFAB18);
background: linear-gradient(135deg, #181CAF, #AFAB18);

Explore Each Color

Related Comparisons