ColorPickerColorPicker

#2F166F

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

257°

Saturation S

67%

Lightness L

26%

Value V

44%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#2f166f

Protanopia

#242459

Deuteranopia

#262854

Tritanopia

#2e4845

Achromatopsia

#282828

Protanomaly

#2a1e64

Deuteranomaly

#2a1c62

Tritanomaly

#2e2e5f

Creative pairings

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

Quick pairings

#2F166F — Midnight Blue color details | ColorPicker