ColorPickerColorPicker

#2D217D

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

Hue H

248°

Saturation S

58%

Lightness L

31%

Value V

49%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Blue

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#2d217d

Protanopia

#282867

Deuteranopia

#292961

Tritanopia

#2c5551

Achromatopsia

#2f2f2f

Protanomaly

#2b2572

Deuteranomaly

#2b2470

Tritanomaly

#2d3a6c

Creative pairings

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

Quick pairings

#2D217D — Midnight Blue color details | ColorPicker