#1F22AF

#1F22AF

#AFAC1F

#AFAC1F

Contrast Ratio

4.59:1

Delta E

158.1

Very Different

50:50 Mix

Color Values

Format #1F22AF #AFAC1F
HEX #1F22AF #AFAC1F
RGB 31, 34, 175 175, 172, 31
HSL 238.8, 69.9%, 40.4% 58.8, 69.9%, 40.4%
HSV 238.8, 82.3%, 68.6% 58.8, 82.3%, 68.6%
CMYK 82.3%, 80.6%, 0.0%, 31.4% 0.0%, 1.7%, 82.3%, 31.4%
OKLCH 0.3774 0.2116 269.5 0.724 0.1486 108.3

Contrast & Accessibility

4.59:1
AA Pass AA Large Pass AAA Fail AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAC1F β†’ Background: #1F22AF

The quick brown fox jumps over the lazy dog

Text: #1F22AF β†’ Background: #AFAC1F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #1F22AF, #AFAC1F);
background: linear-gradient(135deg, #1F22AF, #AFAC1F);

Explore Each Color

Related Comparisons