#402D87 vs white β€” Color Comparison

#402D87

#402D87

white

#FFFFFF

Contrast Ratio

10.81:1

Delta E

94.08

Very Different

50:50 Mix

Color Values

Format #402D87 #FFFFFF
HEX #402D87 #FFFFFF
RGB 64, 45, 135 255, 255, 255
HSL 252.7, 50.0%, 35.3% 0.0, 0.0%, 100.0%
HSV 252.7, 66.7%, 52.9% 0.0, 0.0%, 100.0%
CMYK 52.6%, 66.7%, 0.0%, 47.1% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.3754 0.1428 287.1 1.0 0.0 89.9

Contrast & Accessibility

10.81:1
AA Pass AA Large Pass AAA Pass AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #FFFFFF β†’ Background: #402D87

The quick brown fox jumps over the lazy dog

Text: #402D87 β†’ Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #402D87, #FFFFFF);
background: linear-gradient(135deg, #402D87, #FFFFFF);

Explore Each Color

Related Comparisons