ColorPickerColorPicker

#2C166A

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

Hue H

256°

Saturation S

66%

Lightness L

25%

Value V

42%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#2c166a

Protanopia

#222256

Deuteranopia

#242551

Tritanopia

#2b4642

Achromatopsia

#262626

Protanomaly

#281d60

Deuteranomaly

#281c5e

Tritanomaly

#2b2c5b

Creative pairings

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

Quick pairings

#2C166A — Midnight Blue color details | ColorPicker