ColorPickerColorPicker

#420F4E

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

Hue H

289°

Saturation S

68%

Lightness L

18%

Value V

31%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#420f4e

Protanopia

#2c2b3f

Deuteranopia

#2f333b

Tritanopia

#3f3330

Achromatopsia

#252525

Protanomaly

#392046

Deuteranomaly

#381c45

Tritanomaly

#402042

Creative pairings

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

Quick pairings

#420F4E — Midnight Blue color details | ColorPicker