#1F2AB7

#1F2AB7

#B7AC1F

#B7AC1F

Contrast Ratio

4.31:1

Delta E

157.16

Very Different

50:50 Mix

Color Values

Format #1F2AB7 #B7AC1F
HEX #1F2AB7 #B7AC1F
RGB 31, 42, 183 183, 172, 31
HSL 235.7, 71.0%, 42.0% 55.7, 71.0%, 42.0%
HSV 235.7, 83.1%, 71.8% 55.7, 83.1%, 71.8%
CMYK 83.1%, 77.0%, 0.0%, 28.2% 0.0%, 6.0%, 83.1%, 28.2%
OKLCH 0.397 0.2141 268.6 0.7312 0.1474 104.6

Contrast & Accessibility

4.31:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #B7AC1F → Background: #1F2AB7

The quick brown fox jumps over the lazy dog

Text: #1F2AB7 → Background: #B7AC1F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #1F2AB7, #B7AC1F);
background: linear-gradient(135deg, #1F2AB7, #B7AC1F);

Explore Each Color

Related Comparisons