Mediaeval Blue color: hex code #2E3858
Mediaeval Blue has the hex code #2E3858. It is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 22% green and 34.5% blue (46, 56, 88).
Its hue angle is 226°, with 31% saturation and 26% lightness. For print, the CMYK equivalent is 48% cyan, 36% magenta, 0% yellow and 65% black.
White text is the more readable choice on this background (contrast 11.52:1).
Mediaeval Blue (#2E3858) color codes
| HEX | #2E3858 | |
|---|---|---|
| RGB | rgb(46, 56, 88) | |
| RGB percent | rgb(18%, 22%, 34.5%) | |
| HSL | hsl(226, 31%, 26%) | |
| HSV / HSB | hsv(226, 48%, 35%) | |
| CMYK | cmyk(48%, 36%, 0%, 65%) | |
| CIE LAB | lab(24.04, 5.59, -20.58) | |
| CIE LCH | lch(24.04, 21.33, 285.18) | |
| CIE XYZ | xyz(4.302, 4.114, 9.798) | |
| Decimal | 3029080 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Mediaeval Blue, 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 #2E3858 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.52:1 | Pass | Pass | Pass |
| #2E3858 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.52:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #2E3858 looks to people with the most common types of color vision deficiency.
#2d3b59Protanopia
no red cones#293857Deuteranopia
no green cones#1f3f44Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #2e3858; }
.text { color: #2e3858; }
.border { border: 2px solid #2e3858; }
.transparent { background-color: rgb(46 56 88 / 50%); }
.gradient { background: linear-gradient(to right, #2e3858, #392e58); }
Similar colors
#2b3458Midnight Escapade#273c5aNautilus#3e4364Genie#3d3d63Storm Is Coming#2c2e47Midnight Masquerade#2e305eGalaxea#3b476bStarlit Night#1d2951Space Cadet
Closest common color name: Prussian Blue.
See #2E3858 on its hex code page
Questions
- What color is #2E3858?
- #2E3858 is a dark, desaturated blue known as Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of Mediaeval Blue?
- The RGB value is 46, 56, 88: 46 red, 56 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of Mediaeval Blue?
- The complementary color is #584E2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E3858?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.52:1. WCAG asks for at least 4.5:1 for normal text.