#5E4DCB color
The hex color #5E4DCB is a moderate blue.
In the RGB color model it is made of 36.9% red, 30.2% green and 79.6% blue (94, 77, 203).
Its hue angle is 248°, with 55% saturation and 55% lightness. For print, the CMYK equivalent is 54% cyan, 62% magenta, 0% yellow and 20% black.
The closest named color is Slate Blue (#6A5ACD), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.18:1).
#5E4DCB color codes
| HEX | #5E4DCB | |
|---|---|---|
| RGB | rgb(94, 77, 203) | |
| RGB percent | rgb(36.9%, 30.2%, 79.6%) | |
| HSL | hsl(248, 55%, 55%) | |
| HSV / HSB | hsv(248, 62%, 80%) | |
| CMYK | cmyk(54%, 62%, 0%, 20%) | |
| CIE LAB | lab(41.21, 40.77, -63.35) | |
| CIE LCH | lch(41.21, 75.33, 302.76) | |
| CIE XYZ | xyz(18.046, 11.998, 57.853) | |
| Decimal | 6180299 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E4DCB, 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 #5E4DCB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.18:1 | Pass | Fail | Pass |
| #5E4DCB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.18:1 | Pass | Fail | Pass |
| Sample text | 3.4:1 | Fail | Fail | Pass |
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 #5E4DCB looks to people with the most common types of color vision deficiency.
#0065cfProtanopia
no red cones#005dc8Deuteranopia
no green cones#2f6b85Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #5e4dcb; }
.text { color: #5e4dcb; }
.border { border: 2px solid #5e4dcb; }
.transparent { background-color: rgb(94 77 203 / 50%); }
.gradient { background: linear-gradient(to right, #5e4dcb, #9d4dcb); }
Similar colors
#6a5acdSlate Blue#533cc6Royal Nightcore#4b57dbWarm Blue#7442c8Purple Rain#5539ccBlurple#7755eeCandy Grape Fizz#5260e1Arcane Brew#6633bbPurple Emperor
Questions
- What color is #5E4DCB?
- #5E4DCB is a moderate blue, closest to the named color Slate Blue. It belongs to the blue family of colors.
- What is the RGB value of #5E4DCB?
- The RGB value is 94, 77, 203: 94 red, 77 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #5E4DCB?
- The complementary color is #BACB4D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E4DCB?
- White text. Black text has a contrast ratio of 3.4:1 and white text 6.18:1. WCAG asks for at least 4.5:1 for normal text.