#516274 color
The hex color #516274 is a grayish azure.
In the RGB color model it is made of 31.8% red, 38.4% green and 45.5% blue (81, 98, 116).
Its hue angle is 211°, with 18% saturation and 39% lightness. For print, the CMYK equivalent is 30% cyan, 16% magenta, 0% yellow and 55% black.
The closest named color is Midnight Shadow (#566373), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.27:1).
#516274 color codes
| HEX | #516274 | |
|---|---|---|
| RGB | rgb(81, 98, 116) | |
| RGB percent | rgb(31.8%, 38.4%, 45.5%) | |
| HSL | hsl(211, 18%, 39%) | |
| HSV / HSB | hsv(211, 30%, 45%) | |
| CMYK | cmyk(30%, 16%, 0%, 55%) | |
| CIE LAB | lab(40.81, -1.85, -12.25) | |
| CIE LCH | lch(40.81, 12.39, 261.42) | |
| CIE XYZ | xyz(10.912, 11.745, 18.212) | |
| Decimal | 5333620 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #516274, 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 #516274 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.35:1 | Fail | Fail | Pass |
| Sample text | 6.27:1 | Pass | Fail | Pass |
| #516274 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.27:1 | Pass | Fail | Pass |
| Sample text | 3.35: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 #516274 looks to people with the most common types of color vision deficiency.
#5b6275Protanopia
no red cones#575f74Deuteranopia
no green cones#476668Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #516274; }
.text { color: #516274; }
.border { border: 2px solid #516274; }
.transparent { background-color: rgb(81 98 116 / 50%); }
.gradient { background: linear-gradient(to right, #516274, #525174); }
Similar colors
#566373Midnight Shadow#4c6177Night Market#4d5a6bStorm Rising#4a5c6aSeven Seas#50647fAdmiral Blue#46647eStellar#59656dStreets of London#44556bInkjet
Closest common color name: Space Gray.
Questions
- What color is #516274?
- #516274 is a grayish azure, closest to the named color Midnight Shadow. It belongs to the gray family of colors.
- What is the RGB value of #516274?
- The RGB value is 81, 98, 116: 81 red, 98 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #516274?
- The complementary color is #746351, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #516274?
- White text. Black text has a contrast ratio of 3.35:1 and white text 6.27:1. WCAG asks for at least 4.5:1 for normal text.