#3131CC

#3131CC

#CCCC31

#CCCC31

Contrast Ratio

5.02:1

Delta E

171.45

Very Different

50:50 Mix

Color Values

Format #3131CC #CCCC31
HEX #3131CC #CCCC31
RGB 49, 49, 204 204, 204, 49
HSL 240.0, 61.3%, 49.6% 60.0, 61.3%, 49.6%
HSV 240.0, 76.0%, 80.0% 60.0, 76.0%, 80.0%
CMYK 76.0%, 76.0%, 0.0%, 20.0% 0.0%, 0.0%, 76.0%, 20.0%
OKLCH 0.4381 0.228 271.9 0.8196 0.1649 109.5

Contrast & Accessibility

5.02:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #CCCC31 → Background: #3131CC

The quick brown fox jumps over the lazy dog

Text: #3131CC → Background: #CCCC31

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #3131CC, #CCCC31);
background: linear-gradient(135deg, #3131CC, #CCCC31);

Explore Each Color

Related Comparisons