Midnight Escapade color: hex code #2B3458

#2B3458 rgb(43, 52, 88)
Shades of blue

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
RGBrgb(43, 52, 88)
RGB percentrgb(16.9%, 20.4%, 34.5%)
HSLhsl(228, 34%, 26%)
HSV / HSBhsv(228, 51%, 35%)
CMYKcmyk(51%, 41%, 0%, 65%)
CIE LABlab(22.56, 7.48, -22.93)
CIE LCHlch(22.56, 24.12, 288.08)
CIE XYZxyz(3.985, 3.674, 9.73)
Decimal2831448
Short hexNone (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 #2B3458RatioAAAAAAA large
Sample text1.73:1FailFailFail
Sample text12.1:1PassPassPass
#2B3458 as text onRatioAAAAAAA large
Sample text12.1:1PassPassPass
Sample text1.73:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.