#4D478D color
The hex color #4D478D is a desaturated blue.
In the RGB color model it is made of 30.2% red, 27.8% green and 55.3% blue (77, 71, 141).
Its hue angle is 245°, with 33% saturation and 42% lightness. For print, the CMYK equivalent is 45% cyan, 50% magenta, 0% yellow and 45% black.
The closest named color is Blueberry (#464196), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.07:1).
#4D478D color codes
| HEX | #4D478D | |
|---|---|---|
| RGB | rgb(77, 71, 141) | |
| RGB percent | rgb(30.2%, 27.8%, 55.3%) | |
| HSL | hsl(245, 33%, 42%) | |
| HSV / HSB | hsv(245, 50%, 55%) | |
| CMYK | cmyk(45%, 50%, 0%, 45%) | |
| CIE LAB | lab(34, 21.48, -38.21) | |
| CIE LCH | lch(34, 43.83, 299.34) | |
| CIE XYZ | xyz(10.12, 8.007, 26.206) | |
| Decimal | 5064589 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D478D, 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 #4D478D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.07:1 | Pass | Pass | Pass |
| #4D478D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.07:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #4D478D looks to people with the most common types of color vision deficiency.
#2a5290Protanopia
no red cones#284e8bDeuteranopia
no green cones#395663Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #4d478d; }
.text { color: #4d478d; }
.border { border: 2px solid #4d478d; }
.transparent { background-color: rgb(77 71 141 / 50%); }
.gradient { background: linear-gradient(to right, #4d478d, #70478d); }
Similar colors
#464196Blueberry#483d8bDark Slate Blue#444499Galaxy Express#3d4585Queen of the Night Shift#4e518bTwilight#363e7dEvening Magic#50507fTangent Periwinkle#654ea3Ultrapurple Merge
Questions
- What color is #4D478D?
- #4D478D is a desaturated blue, closest to the named color Blueberry. It belongs to the blue family of colors.
- What is the RGB value of #4D478D?
- The RGB value is 77, 71, 141: 77 red, 71 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #4D478D?
- The complementary color is #878D47, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D478D?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.07:1. WCAG asks for at least 4.5:1 for normal text.