#040F1F

#040F1F

white

#FFFFFF

Contrast Ratio

19.21:1

Delta E

96.49

Very Different

50:50 Mix

Color Values

Format #040F1F #FFFFFF
HEX #040F1F #FFFFFF
RGB 4, 15, 31 255, 255, 255
HSL 215.6, 77.1%, 6.9% 0.0, 0.0%, 100.0%
HSV 215.6, 87.1%, 12.2% 0.0, 0.0%, 100.0%
CMYK 87.1%, 51.6%, 0.0%, 87.8% 0.0%, 0.0%, 0.0%, 0.0%
OKLCH 0.1674 0.0382 255.4 1.0 0.0 89.9

Contrast & Accessibility

19.21: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: #040F1F

The quick brown fox jumps over the lazy dog

Text: #040F1F → Background: #FFFFFF

Color Difference (Delta E)

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

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons