#5454A1 color
The hex color #5454A1 is a desaturated blue.
In the RGB color model it is made of 32.9% red, 32.9% green and 63.1% blue (84, 84, 161).
Its hue angle is 240°, with 31% saturation and 48% lightness. For print, the CMYK equivalent is 48% cyan, 48% magenta, 0% yellow and 37% black.
The closest named color is Twilight (#4E518B), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.65:1).
#5454A1 color codes
| HEX | #5454A1 | |
|---|---|---|
| RGB | rgb(84, 84, 161) | |
| RGB percent | rgb(32.9%, 32.9%, 63.1%) | |
| HSL | hsl(240, 31%, 48%) | |
| HSV / HSB | hsv(240, 48%, 63%) | |
| CMYK | cmyk(48%, 48%, 0%, 37%) | |
| CIE LAB | lab(39.24, 21.21, -41.89) | |
| CIE LCH | lch(39.24, 46.96, 296.85) | |
| CIE XYZ | xyz(13.258, 10.798, 35.097) | |
| Decimal | 5526689 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5454A1, 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 #5454A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.65:1 | Pass | Fail | Pass |
| #5454A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.65:1 | Pass | Fail | Pass |
| Sample text | 3.16: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 #5454A1 looks to people with the most common types of color vision deficiency.
#345fa4Protanopia
no red cones#2e5a9fDeuteranopia
no green cones#396473Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #5454a1; }
.text { color: #5454a1; }
.border { border: 2px solid #5454a1; }
.transparent { background-color: rgb(84 84 161 / 50%); }
.gradient { background: linear-gradient(to right, #5454a1, #7a54a1); }
Similar colors
#4e518bTwilight#51588ePiccadilly Purple#654ea3Ultrapurple Merge#5d6098Wizard’s Potion#444499Galaxy Express#6f58a6Prophet Violet#464196Blueberry#5d66aaBellflower
Closest common color name: Dark Slate Blue.
Questions
- What color is #5454A1?
- #5454A1 is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
- What is the RGB value of #5454A1?
- The RGB value is 84, 84, 161: 84 red, 84 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #5454A1?
- The complementary color is #A1A154, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5454A1?
- White text. Black text has a contrast ratio of 3.16:1 and white text 6.65:1. WCAG asks for at least 4.5:1 for normal text.