black

#000000

#5170A2

#5170A2

Contrast Ratio

4.19:1

Delta E

55.98

Very Different

50:50 Mix

Color Values

Format #000000 #5170A2
HEX #000000 #5170A2
RGB 0, 0, 0 81, 112, 162
HSL 0.0, 0.0%, 0.0% 217.0, 33.3%, 47.6%
HSV 0.0, 0.0%, 0.0% 217.0, 50.0%, 63.5%
CMYK 0%, 0%, 0%, 100% 50.0%, 30.9%, 0.0%, 36.5%
OKLCH 0.0 0.0 0.0 0.5431 0.0867 259.7

Contrast & Accessibility

4.19:1
AA Fail AA Large Pass AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #5170A2 β†’ Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 β†’ Background: #5170A2

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #5170A2);
background: linear-gradient(135deg, #000000, #5170A2);

Explore Each Color

Related Comparisons