ColorPickerColorPicker

#271A4D

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

255°

Saturation S

50%

Lightness L

20%

Value V

30%

Temperature

Cool

Brightness

Dark

Chroma

Muted

Hue family

Purple

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#271a4d

Protanopia

#212141

Deuteranopia

#22233e

Tritanopia

#263735

Achromatopsia

#242424

Protanomaly

#251e47

Deuteranomaly

#241d46

Tritanomaly

#272844

Creative pairings

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

Quick pairings

#271A4D — Midnight Blue color details | ColorPicker