#4E5181 color
The hex color #4E5181 is a grayish blue.
In the RGB color model it is made of 30.6% red, 31.8% green and 50.6% blue (78, 81, 129).
Its hue angle is 236°, with 25% saturation and 41% lightness. For print, the CMYK equivalent is 40% cyan, 37% magenta, 0% yellow and 49% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.45:1).
#4E5181 color codes
| HEX | #4E5181 | |
|---|---|---|
| RGB | rgb(78, 81, 129) | |
| RGB percent | rgb(30.6%, 31.8%, 50.6%) | |
| HSL | hsl(236, 25%, 41%) | |
| HSV / HSB | hsv(236, 40%, 51%) | |
| CMYK | cmyk(40%, 37%, 0%, 49%) | |
| CIE LAB | lab(36.16, 11.59, -27.42) | |
| CIE LCH | lch(36.16, 29.77, 292.92) | |
| CIE XYZ | xyz(10.046, 9.089, 21.99) | |
| Decimal | 5132673 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E5181, 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 #4E5181 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.45:1 | Pass | Pass | Pass |
| #4E5181 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.45:1 | Pass | Pass | Pass |
| Sample text | 2.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 #4E5181 looks to people with the most common types of color vision deficiency.
#415783Protanopia
no red cones#3e5380Deuteranopia
no green cones#3f5a63Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #4e5181; }
.text { color: #4e5181; }
.border { border: 2px solid #4e5181; }
.transparent { background-color: rgb(78 81 129 / 50%); }
.gradient { background: linear-gradient(to right, #4e5181, #654e81); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4e518bTwilight#51588ePiccadilly Purple#4c567aDeep Indigo#5c5083Freshly Purpleized#4d5b88Wizard#445780Sailor
Closest common color name: Dark Slate Blue.
Questions
- What color is #4E5181?
- #4E5181 is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #4E5181?
- The RGB value is 78, 81, 129: 78 red, 81 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #4E5181?
- The complementary color is #817E4E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E5181?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.45:1. WCAG asks for at least 4.5:1 for normal text.