black

#000000

#313F81

#313F81

Contrast Ratio

2.16:1

Delta E

51.23

Very Different

50:50 Mix

Color Values

Format #000000 #313F81
HEX #000000 #313F81
RGB 0, 0, 0 49, 63, 129
HSL 0.0, 0.0%, 0.0% 229.5, 44.9%, 34.9%
HSV 0.0, 0.0%, 0.0% 229.5, 62.0%, 50.6%
CMYK 0%, 0%, 0%, 100% 62.0%, 51.2%, 0.0%, 49.4%
OKLCH 0.0 0.0 0.0 0.393 0.1119 271.4

Contrast & Accessibility

2.16:1
AA Fail AA Large Fail AAA Fail AAA Large Fail

Text Readability

The quick brown fox jumps over the lazy dog

Text: #313F81 → Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 → Background: #313F81

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #313F81);
background: linear-gradient(135deg, #000000, #313F81);

Explore Each Color

Related Comparisons