#798199 color
The hex color #798199 is a grayish blue.
In the RGB color model it is made of 47.5% red, 50.6% green and 60% blue (121, 129, 153).
Its hue angle is 225°, with 14% saturation and 54% lightness. For print, the CMYK equivalent is 21% cyan, 16% magenta, 0% yellow and 40% black.
The closest named color is Tempest (#79839B), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.41:1).
#798199 color codes
| HEX | #798199 | |
|---|---|---|
| RGB | rgb(121, 129, 153) | |
| RGB percent | rgb(47.5%, 50.6%, 60%) | |
| HSL | hsl(225, 14%, 54%) | |
| HSV / HSB | hsv(225, 21%, 60%) | |
| CMYK | cmyk(21%, 16%, 0%, 40%) | |
| CIE LAB | lab(54.1, 2.44, -13.84) | |
| CIE LCH | lch(54.1, 14.05, 279.99) | |
| CIE XYZ | xyz(21.484, 22.065, 33.258) | |
| Decimal | 7963033 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #798199, 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 #798199 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.41:1 | Pass | Fail | Pass |
| Sample text | 3.88:1 | Fail | Fail | Pass |
| #798199 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.88:1 | Fail | Fail | Pass |
| Sample text | 5.41: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 #798199 looks to people with the most common types of color vision deficiency.
#7a839aProtanopia
no red cones#788098Deuteranopia
no green cones#718589Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #798199; }
.text { color: #798199; }
.border { border: 2px solid #798199; }
.transparent { background-color: rgb(121 129 153 / 50%); }
.gradient { background: linear-gradient(to right, #798199, #817999); }
Similar colors
#79839bTempest#787e93Your Shadow#74819aStonewash#6e7e99Infinity and Beyond#7181a4English Manor#747a8aAbandoned Spaceship#848393Mecha Metal#888899Dusty Chimney
Closest common color name: Slate Gray.
Questions
- What color is #798199?
- #798199 is a grayish blue, closest to the named color Tempest. It belongs to the blue family of colors.
- What is the RGB value of #798199?
- The RGB value is 121, 129, 153: 121 red, 129 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #798199?
- The complementary color is #999179, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #798199?
- Black text. Black text has a contrast ratio of 5.41:1 and white text 3.88:1. WCAG asks for at least 4.5:1 for normal text.