Midnight Express
Midnight Express is a very dark, muted blue color with the hex code #21263A (hue 228°, saturation 27%, lightness 18%).
- HEX
#21263A - RGB
rgb(33 38 58) - HSL
hsl(228 27% 18%) - OKLCH
oklch(27.4% 0.038 273)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Midnight Express | #21263A | 33, 38, 58 | 228°, 27%, 18% | 43, 34, 0, 77 | 27.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.
- HEX
#21263A - RGB
rgb(33 38 58) - HSL
hsl(228 27% 18%)
Variations of Midnight Express
Text on Midnight Express
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
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
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.
- Midnight Express Complementary Color Scheme#21263A#445172#3C3523#16110D#7D7248
- Midnight Express Analogous Color Scheme#203838#24313D#21263A#262335#352235
- Midnight Express Triadic Color Scheme#21263A#3C2126#2C3D28#4C5079#130D0D
- Midnight Express Split-complementary Color Scheme#21263A#3B2820#333322#0B0C14#6D4B3E
- Midnight Express Tetradic Color Scheme#21263A#3C2233#3C3523#20392C#4C5079
- Midnight Express Monochromatic Color Scheme#0B0C14#0B0C14#21263A#3B476B#5B649E
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is about as light as Midnight Express (relative luminance 0.021 vs 0.020) and more saturated, with its hue 12° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Midnight Express (relative luminance 0.068 vs 0.020) and equally saturated, with its hue 48° away. - Navy (
navy): Navy (#000080) is darker than Midnight Express (relative luminance 0.016 vs 0.020) and more saturated, with its hue 12° away. - Indigo (
indigo): Indigo (#4B0082) is lighter than Midnight Express (relative luminance 0.031 vs 0.020) and more saturated, with its hue 47° away.
Gradients with Midnight Express
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark#1B2431
- Dark Eclipse#112244
- Dark Knight#151931
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
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.