#040C2F

#040C2F

white

#FFFFFF

Contrast Ratio

19.11:1

Delta E

98.79

Very Different

50:50 Mix

Color Values

Format #040C2F #FFFFFF
HEX #040C2F #FFFFFF
RGB 4, 12, 47 255, 255, 255
HSL 228.8, 84.3%, 10.0% 0.0, 0.0%, 100.0%
HSV 228.8, 91.5%, 18.4% 0.0, 0.0%, 100.0%
CMYK 91.5%, 74.5%, 0.0%, 81.6% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.1748 0.0713 266.7 1.0 0.0 89.9

Contrast & Accessibility

19.11: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: #040C2F

The quick brown fox jumps over the lazy dog

Text: #040C2F → Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons