#798088 color
The hex color #798088 is a gray.
In the RGB color model it is made of 47.5% red, 50.2% green and 53.3% blue (121, 128, 136).
Its hue angle is 212°, with 6% saturation and 50% lightness. For print, the CMYK equivalent is 11% cyan, 6% magenta, 0% yellow and 47% black.
The closest named color is Nocturnal (#767D86), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.26:1).
#798088 color codes
| HEX | #798088 | |
|---|---|---|
| RGB | rgb(121, 128, 136) | |
| RGB percent | rgb(47.5%, 50.2%, 53.3%) | |
| HSL | hsl(212, 6%, 50%) | |
| HSV / HSB | hsv(212, 11%, 53%) | |
| CMYK | cmyk(11%, 6%, 0%, 47%) | |
| CIE LAB | lab(53.26, -0.88, -5.21) | |
| CIE LCH | lch(53.26, 5.29, 260.37) | |
| CIE XYZ | xyz(20.047, 21.281, 26.339) | |
| Decimal | 7962760 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #798088, 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 #798088 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.26:1 | Pass | Fail | Pass |
| Sample text | 4:1 | Fail | Fail | Pass |
| #798088 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4:1 | Fail | Fail | Pass |
| Sample text | 5.26:1 | Pass | 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 #798088 looks to people with the most common types of color vision deficiency.
#7d8088Protanopia
no red cones#7c7e88Deuteranopia
no green cones#758282Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #798088; }
.text { color: #798088; }
.border { border: 2px solid #798088; }
.transparent { background-color: rgb(121 128 136 / 50%); }
.gradient { background: linear-gradient(to right, #798088, #7a7988); }
Similar colors
#767d86Nocturnal#7d848bSerious Cloud#7e8590Smoky Studio#7f8793Sea Lion#7e8082Ironside#828287Lunar Outpost#70818eStormy Oceans#708090Slate Gray
Questions
- What color is #798088?
- #798088 is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
- What is the RGB value of #798088?
- The RGB value is 121, 128, 136: 121 red, 128 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #798088?
- The complementary color is #888179, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #798088?
- Black text. Black text has a contrast ratio of 5.26:1 and white text 4:1. WCAG asks for at least 4.5:1 for normal text.