Royal Night color: hex code #2B3191
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 | |
|---|---|---|
| RGB | rgb(43, 49, 145) | |
| RGB percent | rgb(16.9%, 19.2%, 56.9%) | |
| HSL | hsl(236, 54%, 37%) | |
| HSV / HSB | hsv(236, 70%, 57%) | |
| CMYK | cmyk(70%, 66%, 0%, 43%) | |
| CIE LAB | lab(26.02, 30.47, -53.69) | |
| CIE LCH | lch(26.02, 61.74, 299.57) | |
| CIE XYZ | xyz(7.204, 4.754, 27.321) | |
| Decimal | 2830737 | |
| Short hex | None (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 #2B3191 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.76:1 | Pass | Pass | Pass |
| #2B3191 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.76:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #2B3191 looks to people with the most common types of color vision deficiency.
#004294Protanopia
no red cones#00398fDeuteranopia
no green cones#004a5cTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
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); }
Similar colors
#313390Perfect Dark#2c319bDepths of Night#333399Bluebell#2d3796Liquid Denim#273287Intergalactic Highway#223382Deep Space Royal#003399Smalt#1034a6Egyptian Blue
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.