ColorPickerColorPicker

#331A6A

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.025

Hue H

259°

Saturation S

61%

Lightness L

26%

Value V

42%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#331a6a

Protanopia

#282857

Deuteranopia

#2a2b52

Tritanopia

#324744

Achromatopsia

#2b2b2b

Protanomaly

#2e2260

Deuteranomaly

#2e205f

Tritanomaly

#322f5b

Creative pairings

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

Quick pairings

#331A6A — Midnight Blue color details | ColorPicker