ColorPickerColorPicker

#310B60

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

Hue H

267°

Saturation S

79%

Lightness L

21%

Value V

38%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#310b60

Protanopia

#21204b

Deuteranopia

#232646

Tritanopia

#2f3b38

Achromatopsia

#202020

Protanomaly

#2a1855

Deuteranomaly

#291554

Tritanomaly

#302250

Creative pairings

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

Quick pairings

#310B60 — Midnight Blue color details | ColorPicker