#3B40AF

#3B40AF

#AFAA3B

#AFAA3B

Contrast Ratio

3.4:1

Delta E

128.89

Very Different

50:50 Mix

Color Values

Format #3B40AF #AFAA3B
HEX #3B40AF #AFAA3B
RGB 59, 64, 175 175, 170, 59
HSL 237.4, 49.6%, 45.9% 57.4, 49.6%, 45.9%
HSV 237.4, 66.3%, 68.6% 57.4, 66.3%, 68.6%
CMYK 66.3%, 63.4%, 0.0%, 31.4% 0.0%, 2.9%, 66.3%, 31.4%
OKLCH 0.439 0.1732 274.7 0.7214 0.1306 106.7

Contrast & Accessibility

3.4:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAA3B → Background: #3B40AF

The quick brown fox jumps over the lazy dog

Text: #3B40AF → Background: #AFAA3B

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #3B40AF, #AFAA3B);
background: linear-gradient(135deg, #3B40AF, #AFAA3B);

Explore Each Color

Related Comparisons