ColorPickerColorPicker

#331B46

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

Hue H

273°

Saturation S

44%

Lightness L

19%

Value V

27%

Temperature

Cool

Brightness

Dark

Chroma

Muted

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#331b46

Protanopia

#29283c

Deuteranopia

#2a2c39

Tritanopia

#323332

Achromatopsia

#272727

Protanomaly

#2f2341

Deuteranomaly

#2e2140

Tritanomaly

#32263e

Creative pairings

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

Quick pairings

#331B46 — Midnight Blue color details | ColorPicker