#51536B color
The hex color #51536B is a dark, grayish blue.
In the RGB color model it is made of 31.8% red, 32.5% green and 42% blue (81, 83, 107).
Its hue angle is 235°, with 14% saturation and 37% lightness. For print, the CMYK equivalent is 24% cyan, 22% magenta, 0% yellow and 58% black.
The closest named color is Intergalactic (#4D516C), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.5:1).
#51536B color codes
| HEX | #51536B | |
|---|---|---|
| RGB | rgb(81, 83, 107) | |
| RGB percent | rgb(31.8%, 32.5%, 42%) | |
| HSL | hsl(235, 14%, 37%) | |
| HSV / HSB | hsv(235, 24%, 42%) | |
| CMYK | cmyk(24%, 22%, 0%, 58%) | |
| CIE LAB | lab(35.98, 5.02, -14.05) | |
| CIE LCH | lch(35.98, 14.92, 289.68) | |
| CIE XYZ | xyz(9.14, 8.997, 15.162) | |
| Decimal | 5329771 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51536B, 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 #51536B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.5:1 | Pass | Pass | Pass |
| #51536B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.5:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #51536B looks to people with the most common types of color vision deficiency.
#4d566cProtanopia
no red cones#4b546aDeuteranopia
no green cones#4b575bTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #51536b; }
.text { color: #51536b; }
.border { border: 2px solid #51536b; }
.transparent { background-color: rgb(81 83 107 / 50%); }
.gradient { background: linear-gradient(to right, #51536b, #5c516b); }
Similar colors
#4d516cIntergalactic#555570Majestic Magic#4f566cHeavy Violet#565266Freefall#525463Black Orchid#4c567aDeep Indigo#545663Blackwater#605d6bSmoky
Closest common color name: Charcoal.
Questions
- What color is #51536B?
- #51536B is a dark, grayish blue, closest to the named color Intergalactic. It belongs to the blue family of colors.
- What is the RGB value of #51536B?
- The RGB value is 81, 83, 107: 81 red, 83 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #51536B?
- The complementary color is #6B6951, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51536B?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.5:1. WCAG asks for at least 4.5:1 for normal text.