#271DAF vs #A5AF1D β€” Color Comparison

#271DAF

#271DAF

#A5AF1D

#A5AF1D

Contrast Ratio

4.65:1

Delta E

162.61

Very Different

50:50 Mix

Color Values

Format #271DAF #A5AF1D
HEX #271DAF #A5AF1D
RGB 39, 29, 175 165, 175, 29
HSL 244.1, 71.6%, 40.0% 64.1, 71.6%, 40.0%
HSV 244.1, 83.4%, 68.6% 64.1, 83.4%, 68.6%
CMYK 77.7%, 83.4%, 0.0%, 31.4% 5.7%, 0.0%, 83.4%, 31.4%
OKLCH 0.3759 0.2134 272.3 0.7222 0.1549 113.9

Contrast & Accessibility

4.65:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #A5AF1D β†’ Background: #271DAF

The quick brown fox jumps over the lazy dog

Text: #271DAF β†’ Background: #A5AF1D

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #271DAF, #A5AF1D);
background: linear-gradient(135deg, #271DAF, #A5AF1D);

Explore Each Color

Related Comparisons