ColorPickerColorPicker

#331F54

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

Hue H

263°

Saturation S

46%

Lightness L

23%

Value V

33%

Temperature

Cool

Brightness

Dark

Chroma

Muted

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#331f54

Protanopia

#2a2a47

Deuteranopia

#2c2d44

Tritanopia

#323d3b

Achromatopsia

#2b2b2b

Protanomaly

#2f264d

Deuteranomaly

#2f244c

Tritanomaly

#322d4a

Creative pairings

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

Quick pairings

#331F54 — Midnight Blue color details | ColorPicker