Midnight Escapade color: hex code #2B3458
Midnight Escapade has the hex code #2B3458. It is a dark, desaturated blue.
In the RGB color model it is made of 16.9% red, 20.4% green and 34.5% blue (43, 52, 88).
Its hue angle is 228°, with 34% saturation and 26% lightness. For print, the CMYK equivalent is 51% cyan, 41% magenta, 0% yellow and 65% black.
White text is the more readable choice on this background (contrast 12.1:1).
Midnight Escapade (#2B3458) color codes
| HEX | #2B3458 | |
|---|---|---|
| RGB | rgb(43, 52, 88) | |
| RGB percent | rgb(16.9%, 20.4%, 34.5%) | |
| HSL | hsl(228, 34%, 26%) | |
| HSV / HSB | hsv(228, 51%, 35%) | |
| CMYK | cmyk(51%, 41%, 0%, 65%) | |
| CIE LAB | lab(22.56, 7.48, -22.93) | |
| CIE LCH | lch(22.56, 24.12, 288.08) | |
| CIE XYZ | xyz(3.985, 3.674, 9.73) | |
| Decimal | 2831448 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Midnight Escapade, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #2B3458 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.1:1 | Pass | Pass | Pass |
| #2B3458 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.1:1 | Pass | Pass | Pass |
| Sample text | 1.73:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #2B3458 looks to people with the most common types of color vision deficiency.
#263859Protanopia
no red cones#223457Deuteranopia
no green cones#1a3c41Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #2b3458; }
.text { color: #2b3458; }
.border { border: 2px solid #2b3458; }
.transparent { background-color: rgb(43 52 88 / 50%); }
.gradient { background: linear-gradient(to right, #2b3458, #382b58); }
Similar colors
#2e3858Mediaeval Blue#2e305eGalaxea#1d2951Space Cadet#2c2c57Deep Sea Base#3d3d63Storm Is Coming#2c2e47Midnight Masquerade#1c2e63Mythical Night#322c56Purple Noir
Closest common color name: Oxford Blue.
See #2B3458 on its hex code page
Questions
- What color is #2B3458?
- #2B3458 is a dark, desaturated blue known as Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of Midnight Escapade?
- The RGB value is 43, 52, 88: 43 red, 52 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of Midnight Escapade?
- The complementary color is #584F2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B3458?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.1:1. WCAG asks for at least 4.5:1 for normal text.