#040F9F

#040F9F

white

#FFFFFF

Contrast Ratio

13.34:1

Delta E

120.17

Very Different

50:50 Mix

Color Values

Format #040F9F #FFFFFF
HEX #040F9F #FFFFFF
RGB 4, 15, 159 255, 255, 255
HSL 235.7, 95.1%, 32.0% 0.0, 0.0%, 100.0%
HSV 235.7, 97.5%, 62.4% 0.0, 0.0%, 100.0%
CMYK 97.5%, 90.6%, 0.0%, 37.6% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.3286 0.2124 264.9 1.0 0.0 89.9

Contrast & Accessibility

13.34: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: #040F9F

The quick brown fox jumps over the lazy dog

Text: #040F9F → Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons