#040C42

#040C42

white

#FFFFFF

Contrast Ratio

18.48:1

Delta E

101.9

Very Different

50:50 Mix

Color Values

Format #040C42 #FFFFFF
HEX #040C42 #FFFFFF
RGB 4, 12, 66 255, 255, 255
HSL 232.3, 88.6%, 13.7% 0.0, 0.0%, 100.0%
HSV 232.3, 93.9%, 25.9% 0.0, 0.0%, 100.0%
CMYK 93.9%, 81.8%, 0.0%, 74.1% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.198 0.1009 266.9 1.0 0.0 89.9

Contrast & Accessibility

18.48: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: #040C42

The quick brown fox jumps over the lazy dog

Text: #040C42 β†’ Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #040C42, #FFFFFF);
background: linear-gradient(135deg, #040C42, #FFFFFF);

Explore Each Color

Related Comparisons