ColorPickerColorPicker

#240F8A

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

Hue H

250°

Saturation S

80%

Lightness L

30%

Value V

54%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Blue

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

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

Open full contrast tool →

Color blindness simulator

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

Normal vision

#240f8a

Protanopia

#1b1b6c

Deuteranopia

#1c1e65

Tritanopia

#235550

Achromatopsia

#232323

Protanomaly

#20167b

Deuteranomaly

#201479

Tritanomaly

#233073

Creative pairings

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

Quick pairings

#240F8A — Midnight Blue color details | ColorPicker