#040C2E

#040C2E

white

#FFFFFF

Contrast Ratio

19.14:1

Delta E

98.66

Very Different

50:50 Mix

Color Values

Format #040C2E #FFFFFF
HEX #040C2E #FFFFFF
RGB 4, 12, 46 255, 255, 255
HSL 228.6, 84.0%, 9.8% 0.0, 0.0%, 100.0%
HSV 228.6, 91.3%, 18.0% 0.0, 0.0%, 100.0%
CMYK 91.3%, 73.9%, 0.0%, 82.0% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.1737 0.0696 266.7 1.0 0.0 89.9

Contrast & Accessibility

19.14: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: #040C2E

The quick brown fox jumps over the lazy dog

Text: #040C2E → Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons