#51549A color
The hex color #51549A is a desaturated blue.
In the RGB color model it is made of 31.8% red, 32.9% green and 60.4% blue (81, 84, 154).
Its hue angle is 238°, with 31% saturation and 46% lightness. For print, the CMYK equivalent is 47% cyan, 45% magenta, 0% yellow and 40% black.
The closest named color is Twilight (#4E518B), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.81:1).
#51549A color codes
| HEX | #51549A | |
|---|---|---|
| RGB | rgb(81, 84, 154) | |
| RGB percent | rgb(31.8%, 32.9%, 60.4%) | |
| HSL | hsl(238, 31%, 46%) | |
| HSV / HSB | hsv(238, 47%, 60%) | |
| CMYK | cmyk(47%, 45%, 0%, 40%) | |
| CIE LAB | lab(38.59, 18.25, -38.75) | |
| CIE LCH | lch(38.59, 42.83, 295.22) | |
| CIE XYZ | xyz(12.395, 10.422, 31.924) | |
| Decimal | 5330074 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51549A, 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 #51549A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.08:1 | Fail | Fail | Pass |
| Sample text | 6.81:1 | Pass | Fail | Pass |
| #51549A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.81:1 | Pass | Fail | Pass |
| Sample text | 3.08: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 #51549A looks to people with the most common types of color vision deficiency.
#385e9dProtanopia
no red cones#335898Deuteranopia
no green cones#37636fTritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #51549a; }
.text { color: #51549a; }
.border { border: 2px solid #51549a; }
.transparent { background-color: rgb(81 84 154 / 50%); }
.gradient { background: linear-gradient(to right, #51549a, #72519a); }
Similar colors
#4e518bTwilight#51588ePiccadilly Purple#5d6098Wizard’s Potion#4e5481Dusk#444499Galaxy Express#50507fTangent Periwinkle#654ea3Ultrapurple Merge#3d4585Queen of the Night Shift
Closest common color name: Dark Slate Blue.
Questions
- What color is #51549A?
- #51549A is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
- What is the RGB value of #51549A?
- The RGB value is 81, 84, 154: 81 red, 84 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #51549A?
- The complementary color is #9A9751, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51549A?
- White text. Black text has a contrast ratio of 3.08:1 and white text 6.81:1. WCAG asks for at least 4.5:1 for normal text.