#5F54AC color
The hex color #5F54AC is a desaturated blue.
In the RGB color model it is made of 37.3% red, 32.9% green and 67.5% blue (95, 84, 172).
Its hue angle is 248°, with 35% saturation and 50% lightness. For print, the CMYK equivalent is 45% cyan, 51% magenta, 0% yellow and 33% black.
The closest named color is Ultrapurple Merge (#654EA3), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.27:1).
#5F54AC color codes
| HEX | #5F54AC | |
|---|---|---|
| RGB | rgb(95, 84, 172) | |
| RGB percent | rgb(37.3%, 32.9%, 67.5%) | |
| HSL | hsl(248, 35%, 50%) | |
| HSV / HSB | hsv(248, 51%, 67%) | |
| CMYK | cmyk(45%, 51%, 0%, 33%) | |
| CIE LAB | lab(40.82, 27.28, -45.85) | |
| CIE LCH | lch(40.82, 53.35, 300.76) | |
| CIE XYZ | xyz(15.334, 11.751, 40.482) | |
| Decimal | 6247596 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F54AC, 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 #5F54AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.35:1 | Fail | Fail | Pass |
| Sample text | 6.27:1 | Pass | Fail | Pass |
| #5F54AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.27:1 | Pass | Fail | Pass |
| Sample text | 3.35: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 #5F54AC looks to people with the most common types of color vision deficiency.
#2d63afProtanopia
no red cones#2b5eaaDeuteranopia
no green cones#476778Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #5f54ac; }
.text { color: #5f54ac; }
.border { border: 2px solid #5f54ac; }
.transparent { background-color: rgb(95 84 172 / 50%); }
.gradient { background: linear-gradient(to right, #5f54ac, #8b54ac); }
Similar colors
#654ea3Ultrapurple Merge#715bb1Simply Purple#6f58a6Prophet Violet#6a5acdSlate Blue#7851a9Royal Purple#7851a9Royal Lavender#6f5698Passion Flower#444499Galaxy Express
Questions
- What color is #5F54AC?
- #5F54AC is a desaturated blue, closest to the named color Ultrapurple Merge. It belongs to the blue family of colors.
- What is the RGB value of #5F54AC?
- The RGB value is 95, 84, 172: 95 red, 84 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #5F54AC?
- The complementary color is #A1AC54, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F54AC?
- White text. Black text has a contrast ratio of 3.35:1 and white text 6.27:1. WCAG asks for at least 4.5:1 for normal text.