ColorPickerColorPicker

#331A42

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

Hue H

278°

Saturation S

43%

Lightness L

18%

Value V

26%

Temperature

Cool

Brightness

Dark

Chroma

Muted

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#331a42

Protanopia

#282838

Deuteranopia

#2a2b36

Tritanopia

#32312f

Achromatopsia

#262626

Protanomaly

#2e223d

Deuteranomaly

#2e203c

Tritanomaly

#32253b

Creative pairings

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

Quick pairings

#331A42 — Midnight Blue color details | ColorPicker