Skip to content
ColorPicker Studio

Midnight Blue color — #191970

Midnight Blue is a CSS named color with the HEX code #191970, RGB value rgb(25, 25, 112) and HSL value hsl(240, 64%, 27%).

Blue

Midnight Blue

#191970

Color codes

HEX
#191970
RGB
rgb(25, 25, 112)
HSL
hsl(240, 64%, 27%)
HSV
hsv(240, 78%, 44%)
CMYK
cmyk(78%, 78%, 0%, 56%)
OKLCH
oklch(28.81% 0.1436 272.76)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: midnightblue;
  background-color: #191970;
  border-color: rgb(25, 25, 112);
  outline-color: hsl(240, 64%, 27%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Midnight Blue — On white14.84:1 · AAA
Midnight Blue — On black1.41:1 · Fail

Similar colors

More Blue colors →