#402E8B vs white β€” Color Comparison

#402E8B

#402E8B

white

#FFFFFF

Contrast Ratio

10.6:1

Delta E

94.68

Very Different

50:50 Mix

Color Values

Format #402E8B #FFFFFF
HEX #402E8B #FFFFFF
RGB 64, 46, 139 255, 255, 255
HSL 251.6, 50.3%, 36.3% 0.0, 0.0%, 100.0%
HSV 251.6, 66.9%, 54.5% 0.0, 0.0%, 100.0%
CMYK 54.0%, 66.9%, 0.0%, 45.5% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.3805 0.1468 286.0 1.0 0.0 89.9

Contrast & Accessibility

10.6: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: #402E8B

The quick brown fox jumps over the lazy dog

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

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons