#181BAF

#181BAF

#AFAC18

#AFAC18

Contrast Ratio

4.81:1

Delta E

163.31

Very Different

50:50 Mix

Color Values

Format #181BAF #AFAC18
HEX #181BAF #AFAC18
RGB 24, 27, 175 175, 172, 24
HSL 238.8, 75.9%, 39.0% 58.8, 75.9%, 39.0%
HSV 238.8, 86.3%, 68.6% 58.8, 86.3%, 68.6%
CMYK 86.3%, 84.6%, 0.0%, 31.4% 0.0%, 1.7%, 86.3%, 31.4%
OKLCH 0.3666 0.2187 268.1 0.7237 0.1512 108.3

Contrast & Accessibility

4.81:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAC18 → Background: #181BAF

The quick brown fox jumps over the lazy dog

Text: #181BAF → Background: #AFAC18

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #181BAF, #AFAC18);
background: linear-gradient(135deg, #181BAF, #AFAC18);

Explore Each Color

Related Comparisons