#51526E color
The hex color #51526E is a dark, grayish blue.
In the RGB color model it is made of 31.8% red, 32.2% green and 43.1% blue (81, 82, 110).
Its hue angle is 238°, with 15% saturation and 37% lightness. For print, the CMYK equivalent is 26% cyan, 25% magenta, 0% yellow and 57% black.
The closest named color is Majestic Magic (#555570), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.55:1).
#51526E color codes
| HEX | #51526E | |
|---|---|---|
| RGB | rgb(81, 82, 110) | |
| RGB percent | rgb(31.8%, 32.2%, 43.1%) | |
| HSL | hsl(238, 15%, 37%) | |
| HSV / HSB | hsv(238, 26%, 43%) | |
| CMYK | cmyk(26%, 25%, 0%, 57%) | |
| CIE LAB | lab(35.81, 6.46, -16.17) | |
| CIE LCH | lch(35.81, 17.42, 291.77) | |
| CIE XYZ | xyz(9.224, 8.91, 15.983) | |
| Decimal | 5329518 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51526E, 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 #51526E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.78:1 | Fail | Fail | Fail |
| Sample text | 7.55:1 | Pass | Pass | Pass |
| #51526E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.55:1 | Pass | Pass | Pass |
| Sample text | 2.78: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 #51526E looks to people with the most common types of color vision deficiency.
#4a556fProtanopia
no red cones#49536dDeuteranopia
no green cones#4a575cTritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #51526e; }
.text { color: #51526e; }
.border { border: 2px solid #51526e; }
.transparent { background-color: rgb(81 82 110 / 50%); }
.gradient { background: linear-gradient(to right, #51526e, #5f516e); }
Similar colors
#555570Majestic Magic#4d516cIntergalactic#565266Freefall#4f566cHeavy Violet#4c567aDeep Indigo#4e5481Dusk#525463Black Orchid#3e4364Genie
Closest common color name: Charcoal.
Questions
- What color is #51526E?
- #51526E is a dark, grayish blue, closest to the named color Majestic Magic. It belongs to the blue family of colors.
- What is the RGB value of #51526E?
- The RGB value is 81, 82, 110: 81 red, 82 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #51526E?
- The complementary color is #6E6D51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51526E?
- White text. Black text has a contrast ratio of 2.78:1 and white text 7.55:1. WCAG asks for at least 4.5:1 for normal text.