#1F21BA

#1F21BA

#BAB81F

#BAB81F

Contrast Ratio

5.02:1

Delta E

168.56

Very Different

50:50 Mix

Color Values

Format #1F21BA #BAB81F
HEX #1F21BA #BAB81F
RGB 31, 33, 186 186, 184, 31
HSL 239.2, 71.4%, 42.5% 59.2, 71.4%, 42.5%
HSV 239.2, 83.3%, 72.9% 59.2, 83.3%, 72.9%
CMYK 83.3%, 82.3%, 0.0%, 27.1% 0.0%, 1.1%, 83.3%, 27.1%
OKLCH 0.3893 0.225 269.1 0.76 0.1576 108.8

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: #BAB81F β†’ Background: #1F21BA

The quick brown fox jumps over the lazy dog

Text: #1F21BA β†’ Background: #BAB81F

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #1F21BA, #BAB81F);
background: linear-gradient(135deg, #1F21BA, #BAB81F);

Explore Each Color

Related Comparisons