#51546A color
The hex color #51546A is a dark, grayish blue.
In the RGB color model it is made of 31.8% red, 32.9% green and 41.6% blue (81, 84, 106).
Its hue angle is 233°, with 13% saturation and 37% lightness. For print, the CMYK equivalent is 24% cyan, 21% magenta, 0% yellow and 58% black.
The closest named color is Heavy Violet (#4F566C), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.43:1).
#51546A color codes
| HEX | #51546A | |
|---|---|---|
| RGB | rgb(81, 84, 106) | |
| RGB percent | rgb(31.8%, 32.9%, 41.6%) | |
| HSL | hsl(233, 13%, 37%) | |
| HSV / HSB | hsv(233, 24%, 42%) | |
| CMYK | cmyk(24%, 21%, 0%, 58%) | |
| CIE LAB | lab(36.23, 4.13, -13.03) | |
| CIE LCH | lch(36.23, 13.67, 287.58) | |
| CIE XYZ | xyz(9.165, 9.13, 14.912) | |
| Decimal | 5330026 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51546A, 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 #51546A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.83:1 | Fail | Fail | Fail |
| Sample text | 7.43:1 | Pass | Pass | Pass |
| #51546A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.43:1 | Pass | Pass | Pass |
| Sample text | 2.83:1 | Fail | Fail | Fail |
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 #51546A looks to people with the most common types of color vision deficiency.
#4e566bProtanopia
no red cones#4d5469Deuteranopia
no green cones#4b585bTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #51546a; }
.text { color: #51546a; }
.border { border: 2px solid #51546a; }
.transparent { background-color: rgb(81 84 106 / 50%); }
.gradient { background: linear-gradient(to right, #51546a, #5a516a); }
Similar colors
#4f566cHeavy Violet#4d516cIntergalactic#555570Majestic Magic#525463Black Orchid#565266Freefall#545663Blackwater#4c567aDeep Indigo#605d6bSmoky
Closest common color name: Charcoal.
Questions
- What color is #51546A?
- #51546A is a dark, grayish blue, closest to the named color Heavy Violet. It belongs to the blue family of colors.
- What is the RGB value of #51546A?
- The RGB value is 81, 84, 106: 81 red, 84 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #51546A?
- The complementary color is #6A6751, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51546A?
- White text. Black text has a contrast ratio of 2.83:1 and white text 7.43:1. WCAG asks for at least 4.5:1 for normal text.