#545A9D color
The hex color #545A9D is a desaturated blue.
In the RGB color model it is made of 32.9% red, 35.3% green and 61.6% blue (84, 90, 157).
Its hue angle is 235°, with 30% saturation and 47% lightness. For print, the CMYK equivalent is 46% cyan, 43% magenta, 0% yellow and 38% black.
The closest named color is Piccadilly Purple (#51588E), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.31:1).
#545A9D color codes
| HEX | #545A9D | |
|---|---|---|
| RGB | rgb(84, 90, 157) | |
| RGB percent | rgb(32.9%, 35.3%, 61.6%) | |
| HSL | hsl(235, 30%, 47%) | |
| HSV / HSB | hsv(235, 46%, 62%) | |
| CMYK | cmyk(46%, 43%, 0%, 38%) | |
| CIE LAB | lab(40.62, 16.14, -37.3) | |
| CIE LCH | lch(40.62, 40.64, 293.4) | |
| CIE XYZ | xyz(13.396, 11.631, 33.431) | |
| Decimal | 5528221 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #545A9D, 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 #545A9D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.31:1 | Pass | Fail | Pass |
| #545A9D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.31:1 | Pass | Fail | Pass |
| Sample text | 3.33: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 #545A9D looks to people with the most common types of color vision deficiency.
#4063a0Protanopia
no red cones#3b5d9bDeuteranopia
no green cones#3b6874Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #545a9d; }
.text { color: #545a9d; }
.border { border: 2px solid #545a9d; }
.transparent { background-color: rgb(84 90 157 / 50%); }
.gradient { background: linear-gradient(to right, #545a9d, #73549d); }
Similar colors
#51588ePiccadilly Purple#5d6098Wizard’s Potion#4e518bTwilight#4d5b88Wizard#5d66aaBellflower#4e5481Dusk#4664a5Starstruck#50507fTangent Periwinkle
Closest common color name: Slate Blue.
Questions
- What color is #545A9D?
- #545A9D is a desaturated blue, closest to the named color Piccadilly Purple. It belongs to the blue family of colors.
- What is the RGB value of #545A9D?
- The RGB value is 84, 90, 157: 84 red, 90 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #545A9D?
- The complementary color is #9D9754, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #545A9D?
- White text. Black text has a contrast ratio of 3.33:1 and white text 6.31:1. WCAG asks for at least 4.5:1 for normal text.