black vs #4040B9 β€” Color Comparison

black

#000000

#4040B9

#4040B9

Contrast Ratio

2.65:1

Delta E

81.89

Very Different

50:50 Mix

Color Values

Format #000000 #4040B9
HEX #000000 #4040B9
RGB 0, 0, 0 64, 64, 185
HSL 0.0, 0.0%, 0.0% 240.0, 48.6%, 48.8%
HSV 0.0, 0.0%, 0.0% 240.0, 65.4%, 72.5%
CMYK 0%, 0%, 0%, 100% 65.4%, 65.4%, 0.0%, 27.5%
OKLCH 0.0 0.0 0.0 0.4511 0.1852 276.0

Contrast & Accessibility

2.65:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #4040B9 β†’ Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 β†’ Background: #4040B9

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #4040B9);
background: linear-gradient(135deg, #000000, #4040B9);

Explore Each Color

Related Comparisons