#524F6B color
The hex color #524F6B is a dark, grayish blue.
In the RGB color model it is made of 32.2% red, 31% green and 42% blue (82, 79, 107).
Its hue angle is 246°, with 15% saturation and 36% lightness. For print, the CMYK equivalent is 23% cyan, 26% magenta, 0% yellow and 58% black.
The closest named color is Majestic Magic (#555570), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.81:1).
#524F6B color codes
| HEX | #524F6B | |
|---|---|---|
| RGB | rgb(82, 79, 107) | |
| RGB percent | rgb(32.2%, 31%, 42%) | |
| HSL | hsl(246, 15%, 36%) | |
| HSV / HSB | hsv(246, 26%, 42%) | |
| CMYK | cmyk(23%, 26%, 0%, 58%) | |
| CIE LAB | lab(34.9, 7.91, -15.69) | |
| CIE LCH | lch(34.9, 17.57, 296.75) | |
| CIE XYZ | xyz(8.929, 8.447, 15.067) | |
| Decimal | 5394283 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524F6B, 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 #524F6B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.81:1 | Pass | Pass | Pass |
| #524F6B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.81:1 | Pass | Pass | Pass |
| Sample text | 2.69: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 #524F6B looks to people with the most common types of color vision deficiency.
#48536cProtanopia
no red cones#48516aDeuteranopia
no green cones#4d5459Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #524f6b; }
.text { color: #524f6b; }
.border { border: 2px solid #524f6b; }
.transparent { background-color: rgb(82 79 107 / 50%); }
.gradient { background: linear-gradient(to right, #524f6b, #604f6b); }
Similar colors
#555570Majestic Magic#4d516cIntergalactic#565266Freefall#544563Nightly Walk#3e4364Genie#4c567aDeep Indigo#4f566cHeavy Violet#50507fTangent Periwinkle
Closest common color name: Eggplant.
Questions
- What color is #524F6B?
- #524F6B 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 #524F6B?
- The RGB value is 82, 79, 107: 82 red, 79 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #524F6B?
- The complementary color is #686B4F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524F6B?
- White text. Black text has a contrast ratio of 2.69:1 and white text 7.81:1. WCAG asks for at least 4.5:1 for normal text.