#798A9B color
The hex color #798A9B is a grayish azure.
In the RGB color model it is made of 47.5% red, 54.1% green and 60.8% blue (121, 138, 155).
Its hue angle is 210°, with 15% saturation and 54% lightness. For print, the CMYK equivalent is 22% cyan, 11% magenta, 0% yellow and 39% black.
The closest named color is Light Slate Gray (#778899), a difference of 0.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.92:1).
#798A9B color codes
| HEX | #798A9B | |
|---|---|---|
| RGB | rgb(121, 138, 155) | |
| RGB percent | rgb(47.5%, 54.1%, 60.8%) | |
| HSL | hsl(210, 15%, 54%) | |
| HSV / HSB | hsv(210, 22%, 61%) | |
| CMYK | cmyk(22%, 11%, 0%, 39%) | |
| CIE LAB | lab(56.69, -2.25, -11.08) | |
| CIE LCH | lch(56.69, 11.31, 258.52) | |
| CIE XYZ | xyz(22.888, 24.608, 34.548) | |
| Decimal | 7965339 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #798A9B, 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 #798A9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.92:1 | Pass | Fail | Pass |
| Sample text | 3.55:1 | Fail | Fail | Pass |
| #798A9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.92: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 #798A9B looks to people with the most common types of color vision deficiency.
#848a9cProtanopia
no red cones#80869bDeuteranopia
no green cones#708e8fTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #798a9b; }
.text { color: #798a9b; }
.border { border: 2px solid #798a9b; }
.transparent { background-color: rgb(121 138 155 / 50%); }
.gradient { background: linear-gradient(to right, #798a9b, #79799b); }
Similar colors
#778899Light Slate Gray#7f8793Sea Lion#708090Slate Gray#70818eStormy Oceans#7e8590Smoky Studio#838996Roman Silver#7d848bSerious Cloud#74819aStonewash
Questions
- What color is #798A9B?
- #798A9B is a grayish azure, closest to the named color Light Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #798A9B?
- The RGB value is 121, 138, 155: 121 red, 138 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #798A9B?
- The complementary color is #9B8A79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #798A9B?
- Black text. Black text has a contrast ratio of 5.92:1 and white text 3.55:1. WCAG asks for at least 4.5:1 for normal text.