ColorPickerColorPicker

#040E41

Approximate name: Midnight Blue

Technical formats

Color-space values for scientific work and cross-device comparison.

Practical formats

Ready to paste into CSS, Tailwind, iOS, Android, Flutter, and more.

Color analysis

Objective metrics: luminance, hue, saturation, temperature, and contrast.

Nearest name

MidnightBlue

Relative luminance

0.007

Hue H

230°

Saturation S

88%

Lightness L

14%

Value V

25%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Blue

Contrast on white: 18.35:1 (AA body Pass / AAA Pass)

Contrast on black: 1.14:1 (AA body Fail / AAA Fail)

Open full contrast tool →

Color blindness simulator

Approximate appearance under common color-vision deficiencies (matrix simulation).

Normal vision

#040e41

Protanopia

#080835

Deuteranopia

#080732

Tritanopia

#052b29

Achromatopsia

#111111

Protanomaly

#060b3b

Deuteranomaly

#060b3a

Tritanomaly

#041c38

Creative pairings

Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.

Quick pairings

#040E41 — Midnight Blue color details | ColorPicker