Huebook

Midnight Express

Midnight Express is a very dark, muted blue color with the hex code #21263A (hue 228°, saturation 27%, lightness 18%).

#21263A
NameHEXRGBHSLCMYKOKLCH
Midnight Express#21263A33, 38, 58228°, 27%, 18%43, 34, 0, 7727.4% 0.038 273

Contrast with white text 14.97:1, with black text 1.40:1 — use white text on Midnight Express.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Midnight Express

Move the sliders to make Midnight Express lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Midnight Express
  • HEX#21263A
  • RGBrgb(33 38 58)
  • HSLhsl(228 27% 18%)

Variations of Midnight Express

Text on Midnight Express

White textThe quick brown fox14.97:1 · AA pass · AAA pass
Black textThe quick brown fox1.40:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Midnight Express with color blindness

Normal #21263A
Protanopia #1F283B
Deuteranopia #1D263A
Tritanopia #1A2A2D

How Midnight Express appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#DEE1ED
#AEB5D1
#7D88B5
#536092
#374062
#1C2031

Colors that go with Midnight Express

Six color schemes built on Midnight Express with classic harmony rules. The complementary scheme pairs it with Devlan Mud Wash (#3C3523), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Midnight Express

Similar very dark blue colors

Questions

What is the hex code for Midnight Express?

#21263A — RGB 33, 38, 58, HSL 228°, 27%, 18%.

Is Midnight Express a warm or cool color?

Cool — its hue sits at 228° on the color wheel.