ColorPickerColorPicker

#240C8D

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

251°

Saturation S

84%

Lightness L

30%

Value V

55%

Temperature

Cool

Brightness

Dark

Chroma

Vivid

Hue family

Blue

Contrast on white: 13.89: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

#240c8d

Protanopia

#1a196e

Deuteranopia

#1b1d66

Tritanopia

#235550

Achromatopsia

#222222

Protanomaly

#20147d

Deuteranomaly

#1f127b

Tritanomaly

#232e75

Creative pairings

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

Quick pairings

#240C8D — Midnight Blue color details | ColorPicker