Royal Night color: hex code #2B3191

#2B3191 rgb(43, 49, 145)
Shades of blue

Royal Night has the hex code #2B3191. It is a dark, moderate blue.

In the RGB color model it is made of 16.9% red, 19.2% green and 56.9% blue (43, 49, 145).

Its hue angle is 236°, with 54% saturation and 37% lightness. For print, the CMYK equivalent is 70% cyan, 66% magenta, 0% yellow and 43% black.

White text is the more readable choice on this background (contrast 10.76:1).

Royal Night (#2B3191) color codes

HEX#2B3191
RGBrgb(43, 49, 145)
RGB percentrgb(16.9%, 19.2%, 56.9%)
HSLhsl(236, 54%, 37%)
HSV / HSBhsv(236, 70%, 57%)
CMYKcmyk(70%, 66%, 0%, 43%)
CIE LABlab(26.02, 30.47, -53.69)
CIE LCHlch(26.02, 61.74, 299.57)
CIE XYZxyz(7.204, 4.754, 27.321)
Decimal2830737
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Royal Night, 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 #2B3191RatioAAAAAAA large
Sample text1.95:1FailFailFail
Sample text10.76:1PassPassPass
#2B3191 as text onRatioAAAAAAA large
Sample text10.76:1PassPassPass
Sample text1.95: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 #2B3191 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2b3191; }
.text { color: #2b3191; }
.border { border: 2px solid #2b3191; }
.transparent { background-color: rgb(43 49 145 / 50%); }
.gradient { background: linear-gradient(to right, #2b3191, #582b91); }
Background
Text color
Border

Similar colors

See #2B3191 on its hex code page

Questions

What color is #2B3191?
#2B3191 is a dark, moderate blue known as Royal Night. It belongs to the blue family of colors.
What is the RGB value of Royal Night?
The RGB value is 43, 49, 145: 43 red, 49 green and 145 blue on a 0 to 255 scale.
What is the complementary color of Royal Night?
The complementary color is #918B2B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2B3191?
White text. Black text has a contrast ratio of 1.95:1 and white text 10.76:1. WCAG asks for at least 4.5:1 for normal text.