#515A6E color
The hex color #515A6E is a dark, grayish blue.
In the RGB color model it is made of 31.8% red, 35.3% green and 43.1% blue (81, 90, 110).
Its hue angle is 221°, with 15% saturation and 37% lightness. For print, the CMYK equivalent is 26% cyan, 18% magenta, 0% yellow and 57% black.
The closest named color is Heavy Violet (#4F566C), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.91:1).
#515A6E color codes
| HEX | #515A6E | |
|---|---|---|
| RGB | rgb(81, 90, 110) | |
| RGB percent | rgb(31.8%, 35.3%, 43.1%) | |
| HSL | hsl(221, 15%, 37%) | |
| HSV / HSB | hsv(221, 26%, 43%) | |
| CMYK | cmyk(26%, 18%, 0%, 57%) | |
| CIE LAB | lab(38.18, 1.44, -12.56) | |
| CIE LCH | lch(38.18, 12.64, 276.55) | |
| CIE XYZ | xyz(9.863, 10.187, 16.195) | |
| Decimal | 5331566 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515A6E, 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 #515A6E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.91:1 | Pass | Fail | Pass |
| #515A6E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.91:1 | Pass | Fail | Pass |
| Sample text | 3.04: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 #515A6E looks to people with the most common types of color vision deficiency.
#545b6fProtanopia
no red cones#51596eDeuteranopia
no green cones#4a5e61Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #515a6e; }
.text { color: #515a6e; }
.border { border: 2px solid #515a6e; }
.transparent { background-color: rgb(81 90 110 / 50%); }
.gradient { background: linear-gradient(to right, #515a6e, #56516e); }
Similar colors
#4f566cHeavy Violet#4d5a6bStorm Rising#5c606eConcrete Landscape#44556bInkjet#525463Black Orchid#545663Blackwater#425267Into the Stratosphere#566373Midnight Shadow
Closest common color name: Charcoal.
Questions
- What color is #515A6E?
- #515A6E is a dark, grayish blue, closest to the named color Heavy Violet. It belongs to the gray family of colors.
- What is the RGB value of #515A6E?
- The RGB value is 81, 90, 110: 81 red, 90 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #515A6E?
- The complementary color is #6E6551, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515A6E?
- White text. Black text has a contrast ratio of 3.04:1 and white text 6.91:1. WCAG asks for at least 4.5:1 for normal text.